Currently, our GHA CI workflows on rust-lang/rust use a cached Docker build, which speeds up the workflow considerably. However, they still upload the resulting Docker image to the rust-lang-ci registry, even if there were no changes in the input Docker image. It would be nice to change that and avoid that needless upload in that case.
Currently, our GHA CI workflows on
rust-lang/rust
use a cached Docker build, which speeds up the workflow considerably. However, they still upload the resulting Docker image to therust-lang-ci
registry, even if there were no changes in the input Docker image. It would be nice to change that and avoid that needless upload in that case.For reference, the caching was implemented in this PR: https://github.com/rust-lang/rust/pull/119290.