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

use github actions cache for docker build #126

Open
itcarroll opened this issue Jul 19, 2024 · 0 comments
Open

use github actions cache for docker build #126

itcarroll opened this issue Jul 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@itcarroll
Copy link

Is your feature request related to a problem? Please describe.
The repo2docker-action takes a while, and most of that time is spent building docker layers that have not changed. On a local system, Docker would use its layer cache and take less time.

Describe the solution you'd like
GitHub Actions provides a way to persist a cache from a runner, and Docker appears to have documentation about using it at: https://docs.docker.com/build/cache/backends/gha/. Could the repo2docker-action integrate such a mechanism, so that Docker images could be built using a cache?

@itcarroll itcarroll added the enhancement New feature or request label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant