-
Notifications
You must be signed in to change notification settings - Fork 85
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
Update docker test image name #1644
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.
Thanks for the fix. The latest
tage event should not be changed. It should indeed only be built during the release
trigger for docker, i.e. when we draft a release. Unfortunately, that pipeline didn't get triggered for the latest v0.10.35 release. AFAICT because of missing GHA tokens.
.github/workflows/build-docker.yml
Outdated
type=raw,value=latest,enable=${{ github.event_name == 'release' }} | ||
type=raw,value=latest,enable=true |
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 change should not be merged. The purpose of latest
reflects the latest releases. We don't want node operators to run our dev images.
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.
OK, then I'll revert this and I guess we want to debug the issue of not having the latest
tag for the last release.
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.
There are no release
events for our repo it seems:
https://github.com/centrifuge/centrifuge-chain/actions?query=event%3Arelease
Maybe we want to have something like the trigger mentioned here:
on:
release:
types: [published]
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.
We do have that trigger set up:
centrifuge-chain/.github/workflows/build-docker.yml
Lines 6 to 7 in ccbc3a1
release: | |
types: [created] # GITHUB_REF == tag pushed with the release |
Unfortunately, I don't have capacity to look into this. It should be related to this StackOverflow question/solution: https://stackoverflow.com/questions/69063452/github-actions-on-release-created-workflow-trigger-not-working
fec8b84
to
b4db881
Compare
b4db881
to
0042f79
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.
Thanks for looking into this!
Description
Update docker test image name