-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
export and import --mount=type=cache caches #1474
Comments
Also very interested in this - we want to have our CI builds running on Kubernetes pods, and also have the Dockerfiles take advantage of the experimental |
Yes, I just had this issue too with GitHub Actions. As a workaround is it save to cache |
@jvanbruegge I don't have time to test it right now, but if you find that works could you update https://stackoverflow.com/questions/60448114/how-do-i-reuse-the-cache-from-a-run-mount-type-cache-docker-build with that as an answer? |
I'm wondering if its possible to save and restore cache mounts. I'm running buildkit in a CI environment where consecutive build of tasks are executed on different worker nodes.
The current
--import-cache/--export-cache
feature only seems to work on on the resulting layers but does not include the cache mounts.Is there a way to export and import those cleanly?
The text was updated successfully, but these errors were encountered: