-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Cache CI-built cloud-provider-kind
Docker image
#84
Conversation
cloud-provider-kind
Docker image
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.
Did you see this approach? https://docs.docker.com/build/cache/backends/gha/#using-dockerbuild-push-action
Unsure if it's better, and it would require building the image first, using the cache parameters.
I've used that in previous places, the change would be as you say to pre-build the image first building it using |
cloud-provider-kind
Docker imagecloud-provider-kind
Docker image
cloud-provider-kind
Docker imagecloud-provider-kind
Docker image
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.
It would be nice to extract this into an action to reduce duplication, but I won't block on that.
Summary
cloud-provider-kind-cloud-provider:latest
Docker image is built after checking out the cloud-provider-kind repo and running: