Skip to content

Commit 3163919

Browse files
authored
Rollup merge of rust-lang#127569 - Kobzol:ci-fix-docker-local-rebuild, r=nikic
Fix local download of Docker caches from CI rust-lang#127312 broke local downloads of Docker caches from CI, when you wanted to build a Docker image locally. This PR fixes that. r? `@nikic` (Can you please check if the cache works for you with this PR?)
2 parents 7faef5d + e7bd16e commit 3163919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/docker/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then
9393
docker --version
9494

9595
REGISTRY=ghcr.io
96-
REGISTRY_USERNAME=${GITHUB_REPOSITORY_OWNER}
96+
REGISTRY_USERNAME=${GITHUB_REPOSITORY_OWNER:-rust-lang-ci}
9797
# Tag used to push the final Docker image, so that it can be pulled by e.g. rustup
9898
IMAGE_TAG=${REGISTRY}/${REGISTRY_USERNAME}/rust-ci:${cksum}
9999
# Tag used to cache the Docker build

0 commit comments

Comments
 (0)