-
Notifications
You must be signed in to change notification settings - Fork 523
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: don't unconditionally add latest tag #3163
fix: don't unconditionally add latest tag #3163
Conversation
Eclipse JKube CI ReportStarted new GH workflow run for #3163 (2024-06-20T13:07:26Z) ⚙️ JKube E2E Tests (9597801939)
|
@ecausarano : Thanks a lot for contributing to Eclipse JKube 👍, In order to contribute to Eclipse, you would need to create an Eclipse Account and Sign Eclipse Contributor Agreement. Once you've created an eclipse account you would need to update your commit message with a
|
@ecausarano : Could you please address code smell pointed by Sonar analysis? |
Tag `latest` should not be added when image name contains pattern `%t`, or it will likely break immutable repositories that don't allow overwriting artifact tags. Signed-off-by: Edoardo Causarano <[email protected]>
e9f6da3
to
7073d17
Compare
We probably would want to get rid of this logic if it's redundant. I'll add a commit on top of this pull request once I verify it's not getting used anywhere. |
… BaseGenerator Signed-off-by: Rohan Kumar <[email protected]>
96d496f
to
40f7880
Compare
Quality Gate passedIssues Measures |
I tested with various combinations of image name placeholders, in almost all cases image name generated seems to be a valid container image.
|
I have the feeling there's a disconnect between the core plugin and the call in the JIB extension that pushes to the registry. I had to add |
I understand that this is unrelated to this PR or the original issue and that it should be treated as a separate issue/problem, right? |
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, thx!
Description
Tag
latest
should not be added when image name contains pattern%t
, or it will likely break immutable repositories that don't allow overwriting artifact tags.Fixes #3161
Type of change
test, version modification, documentation, etc.)
Checklist