-
Notifications
You must be signed in to change notification settings - Fork 107
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(lightwalletd): Zebra's Dockerfile needs latest
lwd image
#4599
Conversation
We need to add this condtion to lightwalletd docker build, to always create a `latest` tag when merging to the default branch: `main`
I'm not sure if this completely solves the problem. What happens if we need to update the image? The PR that changes it will use the |
We need to add this condtion to lightwalletd docker build, to always create a `latest` tag when merging to the default branch: `main`
I had the same thought, it makes testing a bit tricky. We might want to use the same algorithm we use for the state:
|
The commit text contains |
Motivation
We need to add this condition to lightwalletd docker build, to always create a
latest
tag when merging to the default branch:main
, as we're fetching this tag from the Zebra Dockerfile build, but this tag is not being added when building lightwalletdFixes #4590
Designs
By default
docker/metadata-action
creates tags based on the event being triggered, but the latest tag is reserved for releases. As we can't wait releases for this specific use case, we're building thelatest
when merging to the default branch.Solution
docker/metadata-action
-->type=raw,value=latest,enable={{is_default_branch}}
Review
Anyone from @ZcashFoundation/devops-reviewers or @conradoplg