Skip to content

Commit d87b91d

Browse files
committed
add config-inline
1 parent 7bba462 commit d87b91d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build_80.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
uses: docker/setup-buildx-action@v2.0.0
4141
with:
4242
install: true
43+
config-inline: |
44+
[registry."docker.io"]
45+
mirrors = ["registry.github-runners.huggingface.tech"]
4346
- name: Configure sccache
4447
uses: actions/github-script@v6
4548
with:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WORKDIR /usr/src
44
ENV SCCACHE=0.5.4
55
ENV RUSTC_WRAPPER=/usr/local/bin/sccache
66

7-
# Donwload and configure sccache
7+
# Donwload & configure sccache
88
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v$SCCACHE/sccache-v$SCCACHE-x86_64-unknown-linux-musl.tar.gz | tar -xzv --strip-components=1 -C /usr/local/bin sccache-v$SCCACHE-x86_64-unknown-linux-musl/sccache && \
99
chmod +x /usr/local/bin/sccache
1010

0 commit comments

Comments
 (0)