-
Notifications
You must be signed in to change notification settings - Fork 14
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
Explore using cache for docker build #452
Comments
Looks like a simpler solution is now available that uses GHA cache directly https://github.com/restatedev/restate/pull/492/files See also documentation here: |
Might not be so easy in the end: |
Yep. I did a try in https://github.com/pspgen/build-machine/blob/478dbcebdc521d916f2c72f0500f67898d2a9f13/.github/workflows/ci.yml#L55-L73 ;) which borrow most of the idea from your PR. The build of my image takes 10 mins, using cache safe me half day at least 😄 |
So just to followup here, the cache works only partially. I suspect there is some cache-trashing since we're building multiple images and multiple platforms. So the cache wins us a bit, but could be much better. Perhaps worth looking into more in the future. This issue is probably relevant docker/bake-action#87 (note the last comment by Simon) |
Could you give it a try on caching? This may further speed the build?
Originally posted by @unkcpz in #439 (comment)
The text was updated successfully, but these errors were encountered: