diff options
| author | Jakub Beránek <jakub.beranek@vsb.cz> | 2024-07-04 12:34:07 +0200 |
|---|---|---|
| committer | Jakub Beránek <jakub.beranek@vsb.cz> | 2024-07-04 12:34:07 +0200 |
| commit | 410f760ed530954a3f3da66b41207833207efdf2 (patch) | |
| tree | 8677f25e0ef184140f2eba678965e23ca555e366 /src/ci/docker | |
| parent | 1cfd47fe0b78f48a04ac8fce792a406b638da40b (diff) | |
| download | rust-410f760ed530954a3f3da66b41207833207efdf2.tar.gz rust-410f760ed530954a3f3da66b41207833207efdf2.zip | |
Make CI more agnostic of the owning GitHub organization
This should make it possible to switch running `auto` and `try` builds from `rust-lang-ci` to `rust-lang`.
Diffstat (limited to 'src/ci/docker')
| -rwxr-xr-x | src/ci/docker/run.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ci/docker/run.sh b/src/ci/docker/run.sh index a4c59b3067e..695b8b4c0d9 100755 --- a/src/ci/docker/run.sh +++ b/src/ci/docker/run.sh @@ -93,8 +93,7 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then docker --version REGISTRY=ghcr.io - # PR CI runs on rust-lang, but we want to use the cache from rust-lang-ci - REGISTRY_USERNAME=rust-lang-ci + REGISTRY_USERNAME=${GITHUB_REPOSITORY_OWNER} # Tag used to push the final Docker image, so that it can be pulled by e.g. rustup IMAGE_TAG=${REGISTRY}/${REGISTRY_USERNAME}/rust-ci:${cksum} # Tag used to cache the Docker build |
