-
Notifications
You must be signed in to change notification settings - Fork 115
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
chore: tag model_servers images on release #749
Conversation
LGTM |
Can you merge your commits. git rebase -i origin |
556ae70
to
d2fdbd2
Compare
You still have two commits I want you to squash them together. |
Signed-off-by: axel7083 <[email protected]> fix: missing $ Signed-off-by: axel7083 <[email protected]>
d2fdbd2
to
2130f92
Compare
@@ -97,7 +99,7 @@ jobs: | |||
with: | |||
image: ${{ env.REGISTRY }}/${{ github.repository_owner}}/${{ matrix.image_name }} | |||
platforms: ${{ matrix.platforms }} | |||
tags: latest | |||
tags: latest ${{ github.ref_type == 'tag' && github.ref_name || '' }} |
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.
Does this end up with
tags: latest githup.ref_name? if set?
Or should it be just
tags: githup.ref_name
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.
tags: latest githup.ref_name? if set?
yes
You also lost your commit message? |
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
This PR tag the container images of the model_servers with the
ref_name
if one is provided.Fixes #748
According to the redhat-actions/buildah-build documentation, the tags should be separated with white spaces1
Footnotes
https://github.com/marketplace/actions/buildah-build#image-and-tags-inputs ↩