rust-lang / infra-team

Coordination repository for the Rust infra team
https://www.rust-lang.org/governance/teams/infra
Apache License 2.0
18 stars 9 forks source link

Optimize Docker caching on CI #103

Open Kobzol opened 7 months ago

Kobzol commented 7 months ago

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.

For reference, the caching was implemented in this PR: https://github.com/rust-lang/rust/pull/119290.

geektype commented 7 months ago

As discussed, I'll have a look in to this over the weekend and submit a PR.