Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor GitHub Actions Caching #137

Open
2 tasks
alessfg opened this issue Mar 28, 2023 · 0 comments
Open
2 tasks

Refactor GitHub Actions Caching #137

alessfg opened this issue Mar 28, 2023 · 0 comments

Comments

@alessfg
Copy link
Collaborator

alessfg commented Mar 28, 2023

Is your feature request related to a problem? Please describe

As of today, Docker builds are cached using the GitHub Actions cache. The current GitHub Actions caching solution does not take into account Docker image base layers containing updated packages, and does not let you define key names for the various cached layers, making it almost impossible to determine with cached shards correspond to each Docker image layer. This poses an issue when trying to selectively remove a cached Docker image layer due to, for example, outdated dependencies, or more importantly, CVEs. And means we might need to wipe the GitHub Actions cache before rebuilding any relevant images.

Describe the solution you'd like

  • Being able to assign human readable names to each cached layer
  • Dynamically delete outdated layers and rebuild the Docker images

Additional context

This issue is a follow up from #136 -- the original issue included improving the GitHub Actions cache support but on hindsight it makes more sense to track those efforts on a different issue.

Tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant