Conversation
7e82a94 to
fbec154
Compare
…rs from pipelines
fbec154 to
7e805b0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
GitHub Actions cache limits are hit fast due to very large Docker images being saved as cache artifacts, leading to broken runs and frustration for anyone using the pipelines.
Changes
Replaced the
docker save → cache/save/cache/restore → docker loadpattern with a direct push/pull toghcr.iofor the following workflows:perl-cpan-libraries.ymlget-packaging-imagesjob: pull from Harbor → tag → push toghcr.iopackage-rpm/package-debjobs: pull directly fromghcr.io(no cache restore, no docker load)plugins-robot-tests.ymltest-image-to-cache→push-test-image-to-ghcrghcr.iorobot-testjob: pull directly fromghcr.ioImage naming
ghcr.io/${{ github.repository }}/<image>:<sha>-<run_id>— same uniqueness as the previous cache key, maintaining run isolation.Auth
Uses
GITHUB_TOKENwithpackages: write— no extra secret or PAT needed, consistent with MON-196690.Follow-up
Ephemeral images tagged with
sha-run_idwill accumulate in ghcr.io. A cleanup mechanism (similar tocleanup-ghcr-registry.ymlin delivery-tooling) should be added as afollow-up.
Related
Summary by Aikido
⚡ Enhancements
🔧 Refactors
More info