-
Notifications
You must be signed in to change notification settings - Fork 185
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
ci: Add missing step for image caching #1114
Conversation
I think that the cache should be shared between all commits to maximize the advantages of caching |
d75c292
to
15e0a57
Compare
Yeah, makes sense. Found one more issue regarding |
81a03f0
to
f534e95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems cool, I just have some questions because I want to be sure we will test the image corresponding to the PR:
b72f8ef
to
193c8f3
Compare
It seems that we are missing step to move the image cache to correct location as per, https://docs.docker.com/build/ci/github-actions/examples/#local-cache
193c8f3
to
b557c50
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for it and sorry for the river of question but I wanted to be sure we did not introduce a mistake!
Thanks for the review. Those questions were super important because I understand I will keep this PR open for a bit in case someone else wants to review as well! |
Thanks for the review. |
It seems that we are missing step to move the image cache to correct location as per example. Also, the cache sizes
key=Linux-docker-{core,default}-
seem to be indicating we aren't using cache for docker images. Only useful for re-triggers of all steps.Testing:
Cache sizes seems to be of the expected sizes with new keys.