Skip to content

Commit acea108

Browse files
committed
fix REGISTRY_USERNAME to reuse cache between auto and pr jobs
1 parent 6503543 commit acea108

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/ci/docker/run.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then
9696
docker --version
9797

9898
REGISTRY=ghcr.io
99-
REGISTRY_USERNAME=${GITHUB_REPOSITORY_OWNER:-rust-lang-ci}
99+
# Hardcode username to reuse cache between auto and pr jobs
100+
# FIXME: should be changed after move from rust-lang-ci
101+
REGISTRY_USERNAME=rust-lang-ci
100102
# Tag used to push the final Docker image, so that it can be pulled by e.g. rustup
101103
IMAGE_TAG=${REGISTRY}/${REGISTRY_USERNAME}/rust-ci:${cksum}
102104
# Tag used to cache the Docker build

0 commit comments

Comments
 (0)