Repository navigation
fix(build): jib pushes only the version tag, never :latest - #70
Merged
Merged
Conversation
A release build pushed :latest alongside the version tag (gateway-customer
0.26.0, 2026-10-11 11:49:38Z). Staging pulls :latest, so a release could
change what staging runs without a deploy. Put ${project.version} in
<to><image> and drop the extra latest tag. Promotion to :latest stays an
explicit deploy step.
Qodana Community for JVM5 new problems were found
☁️ View the detailed Qodana report Contact Qodana teamContact us at qodana-support@jetbrains.com
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
During the gateway-customer 0.26.0 release (2026-10-11 11:49:38Z) the jib config pushed
:latestas well as the version tag. Staging pulls:latest, so a release build could change what staging runs without a deploy. It was restored within 17 s and the host never pulled it (see the Redeploy 10 notes). This repo has the same pattern.Change
<to><image>is now<repo>:${project.version}, and the extra<tags>(latest) is gone. Promoting to:lateststays an explicit deploy step.Evidence
mvn -Dmaven.repo.local=<scratch> ... jib:buildTar,RepoTagsfrom the tarball's manifest.json. Nothing was pushed to the registry.(base = origin/develop, after = this branch)
Do not merge without review.