Skip to content

Commit 2a69e32

Browse files
committed
ci: pass MISE_GITHUB_TOKEN as build arg in CI Dockerfile
Declare the ARG before mise install so authenticated GitHub API requests avoid rate limits when fetching tool versions.
1 parent 8ecc083 commit 2a69e32

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

deploy/docker/Dockerfile.ci

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ RUN curl https://mise.run | sh
6060
COPY mise.toml /opt/mise/mise.toml
6161
COPY build/ /opt/mise/build/
6262
WORKDIR /opt/mise
63+
ARG MISE_GITHUB_TOKEN
6364
RUN mise trust /opt/mise/mise.toml && \
6465
env -u RUSTC_WRAPPER mise install && \
6566
/root/.cargo/bin/rustup component remove rust-docs || true && \

0 commit comments

Comments
 (0)