argocd-image-updater icon indicating copy to clipboard operation
argocd-image-updater copied to clipboard

Check update two tags one one image

Open Tasmana-banana opened this issue 1 year ago • 1 comments

i thy use:

    argocd-image-updater.argoproj.io/image-list: "qa=repo/name:latest, dev=repo/name:dev"
    argocd-image-updater.argoproj.io/qa.update-strategy: "digest"
    argocd-image-updater.argoproj.io/qa.force-update: "true"
    argocd-image-updater.argoproj.io/dev.update-strategy: "digest"
    argocd-image-updater.argoproj.io/dev.force-update: "true"

but when i update dev tag, after some time image tag set latest with digest sha256 from dev. And i try build and push new image with tag latest, image updater did not update image.

How i can use two tags for update same image, if this image use digest for update?

argocd-image-updater:v0.15.0 eks 1.30

Tasmana-banana avatar Oct 31 '24 14:10 Tasmana-banana

In log i see: time="2024-10-31T14:48:09Z" level=info msg="Successfully updated image 'repo/name@sha256:beb14cc185c08e19b4ab35b57eb81fe9e889ea61ca3193b8429d0f860ee24261' to 'repo/name:latest@sha256:39236f1a1c619661492a50b0ce316161e96d72b669f03d262d2ff607fa70fa60', but pending spec update (dry run=false)" alias=qa application=dev-1 image_name=app image_tag="sha256:beb14cc185c08e19b4ab35b57eb81fe9e889ea61ca3193b8429d0f860ee24261" registry=repo/name

but it is cyclical with the message

time="2024-10-31T14:51:48Z" level=info msg="Successfully updated the live application spec" application=dev-1
time="2024-10-31T14:51:48Z" level=info msg="Processing results: applications=34 images_considered=35 images_skipped=0 images_updated=1 errors=0" 

Tasmana-banana avatar Oct 31 '24 14:10 Tasmana-banana