We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e4c68 commit eb53032Copy full SHA for eb53032
src/ci/docker/run.sh
@@ -97,9 +97,8 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then
97
docker --version
98
99
REGISTRY=ghcr.io
100
- # Hardcode username to reuse cache between auto and pr jobs
101
- # FIXME: should be changed after move from rust-lang-ci
102
- REGISTRY_USERNAME=rust-lang-ci
+ # Default to `rust-lang` to allow reusing the cache for local builds
+ REGISTRY_USERNAME=${GITHUB_REPOSITORY_OWNER:-rust-lang}
103
# Tag used to push the final Docker image, so that it can be pulled by e.g. rustup
104
IMAGE_TAG=${REGISTRY}/${REGISTRY_USERNAME}/rust-ci:${cksum}
105
# Tag used to cache the Docker build
0 commit comments