-
Notifications
You must be signed in to change notification settings - Fork 28
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
Guideline for leveraging GitHub Actions cache #196
Comments
A pretty straightforward job like this
has not been successful in caching. It keeps creating Actions Caches and quickly fills up the Actions Cache size. Edit Was able to get more reproducible behavior. Not 100% cache hit - though I think that may be a fault of either my Dockerfile targets, how they're reference in the bake file, or the base images being used themselves. Nonetheless, I bake a couple targets simultaneously and so changing the scope solved 97% of my problems:
There's not much documentation on the |
Hi,
I believe it would be super helpful to provide some guidelines on how to implement gha caching while using this action.
Docker's documentation also doesn't mention anything about when using bake:
https://docs.docker.com/build/cache/backends/gha/
The text was updated successfully, but these errors were encountered: