-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add github action that will build and push to quay.io after the other build tests a complete. #47
Comments
You mean 0.1.3 would inherit from 0.1.3rc5 (if that was the last release candidate)? Sounds sensible. One thing to mind though -- package versions like |
We write the action, so we can do what works for us
My thinking was, if a Dockerfile has not changed, then there's no need to rebuild the image, so, if we need an image with a tag matching the new release, then we should just build and push:
with a tag matching the new release. |
I agree with that. We just need to be mindful of the case where the Dockerfile hasn't changed, but it's pip installing from master underneath. In this case the release workflow should ensure that the image is rebuilt with the latest payload. |
Essentially, we have to generate this file for each image in the cargo manifest |
Well, I see two routes here:
|
Th second option is the path of least resistance, we just need to be able to track which images have changed since the last release to avoid re-building unnecessarily. This information must be somewhere in the |
I think the hashing system already ensures that image layers that haven't changed aren't pushed? |
This should only build and push if a Dockerfile has changed. We could this by building and pushing directly in the
action
environment, or by triggering a build on quay.io.For releases, a create a Dockerfile that simply inherits from the previous release i.e, a duplicate image with a different tag matching the release version.
The text was updated successfully, but these errors were encountered: