-
Notifications
You must be signed in to change notification settings - Fork 111
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
fix(docker): Add edge tag to Docker images, document when latest tag will appear #5312
Conversation
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.
I wouldn't add a latest
tag to non-stable releases.
When a <pre-release>
information is included in the image tag, the latest
tag won't be automatically added as this one is, by default, reserved for stable images.
For example, we will release 1.0.0
and this will also auto-add the latest
tag, but if we then publish 1.0.1-alpha.1
, we wouldn't want users to download an alpha version if they add the latest
tag, but instead keep downloading 1.0.0
until 1.0.1
is published
This is explained with more detail here: #5138 (comment)
Thanks, I summarised that explanation next to the config that will create the |
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.
LGTM
Some jobs didn't run on this PR, but the workflow rules contain I'll try re-running it, maybe GitHub is having issues. |
@Mergifyio update |
✅ Branch has been successfully updated |
Ok, closing and re-opening seemed to work. |
Looks like the workflow syntax was wrong, but the error only showed up on the workflow details screen, because the mistake was in a sub-workflow. |
@Mergifyio update |
☑️ Nothing to do
|
Ok, that should all be fixed now, some of my changes didn't work. |
@Mergifyio update |
✅ Branch has been successfully updated |
@Mergifyio update |
✅ Branch has been successfully updated |
It looks like some of the instances for this PR got deleted about 10 hours ago, before the tests had finished. I'm not sure why, the instance delete job wasn't running.
https://github.com/ZcashFoundation/zebra/actions/runs/3189762463/jobs/5209366519#step:6:99 |
…will appear (#5312) * Add latest and edge tags to Docker images * Document how latest tag actually works * Try a different syntax for is_default_branch * Try again * One last try * Revert changes that don't work Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Motivation
latest
is the default Docker tag, but it's missing from published Zebra images:https://hub.docker.com/r/zfnd/zebra/tags
This makes typical Docker commands fail:
Specifications
https://github.com/docker/metadata-action#latest-tag
Solution
edge
tag to published Docker imagesReview
Anyone can review this PR.
It is only a release blocker if we want users to be able to easily use Docker images.
Reviewer Checklist