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

Check update two tags one one image #905

Open
Tasmana-banana opened this issue Oct 31, 2024 · 1 comment
Open

Check update two tags one one image #905

Tasmana-banana opened this issue Oct 31, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Tasmana-banana
Copy link

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 Tasmana-banana added the enhancement New feature or request label Oct 31, 2024
@Tasmana-banana
Copy link
Author

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" 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant