Groups
Groups
Sign in
Groups
Groups
kaniko-users
Conversations
About
Send feedback
Help
Existing image with tag 'latest' does not get updated in JFrog artifactory
77 views
Skip to first unread message
Frank Gierschner
unread,
Sep 12, 2023, 12:20:42 PM
9/12/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kaniko-users
Hi all,
we are using kaniko for building and uploading images to JFrog artifactory via a command like
```
/kaniko/executor --context dir:///my-workspace-dir --build-arg 'IMAGE_BUILDER_TYPE=kaniko' --cleanup --dockerfile /Path/To/Dockerfile --build-arg 'BUILD_VERSION=1.2.3' --build-arg 'X=some-value' ... --destination
slartifartbuzz.mycompany.com/artifactory-target-repo:1.2.3
--destination
slartifartbuzz.mycompany.com/artifactory-target-repo:latest
```
but at some point in the past we noticed that the image with the image with tag 'latest' does not get replaced anymore and stays an old one.
This all happens without any errors occurring during kaniko execution:
```
Deleting filesystem...
Pushing image to
slartifartbuzz.mycompany.com/artifactory-target-repo:1.2.3
Pushed
slartifartbuzz.mycompany.com/artifactory-target-repo@sha256
:<digest>
Pushing image to
slartifartbuzz.mycompany.com/artifactory-target-repo:latest
Pushed
slartifartbuzz.mycompany.com/artifactory-target-repo@sha256
:<digest>
errorHandler exitCode=0
```
We do not see any "force" option which may be placed on the CLI to overcome this.
Is it an intended behaviour? Or any ideas how to resolve this?
Regards
Frank
Reply all
Reply to author
Forward
0 new messages