Skip to content
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

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

axel7083
Copy link
Contributor

@axel7083 axel7083 commented Aug 9, 2024

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

  1. https://github.com/marketplace/actions/buildah-build#image-and-tags-inputs

@rhatdan
Copy link
Member

rhatdan commented Aug 9, 2024

@sallyom @lmilbaum PTAL

@rhatdan
Copy link
Member

rhatdan commented Aug 12, 2024

LGTM

@rhatdan
Copy link
Member

rhatdan commented Aug 12, 2024

Can you merge your commits.

git rebase -i origin
git push --force

@axel7083 axel7083 force-pushed the chore/tag-on-release branch from 556ae70 to d2fdbd2 Compare August 12, 2024 13:22
@rhatdan
Copy link
Member

rhatdan commented Aug 12, 2024

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]>
@axel7083 axel7083 force-pushed the chore/tag-on-release branch from d2fdbd2 to 2130f92 Compare August 12, 2024 13:38
@@ -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 || '' }}
Copy link
Member

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

Copy link
Contributor Author

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

@rhatdan
Copy link
Member

rhatdan commented Aug 12, 2024

You also lost your commit message?

Copy link
Member

@rhatdan rhatdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rhatdan rhatdan merged commit 0ba38e0 into containers:main Aug 13, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tag model_servers container image on release
2 participants