From fff4d59e3986a4c01486f54b16b7c984110cf0e9 Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Wed, 9 Sep 2026 20:10:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20image=20updater=20strategy=20from=20dige?= =?UTF-8?q?st=E2=86=92newest-build=20with=20SHA=20tag=20filter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Root cause: image updater used 'digest' strategy with allow-tags=latest but 'digest' requires a version constraint. Result: updater errored every 2min cycle and never promoted new images. Fix: - Strategy: newest-build (picks most recently pushed tag) - Allow-tags: regexp:^[a-f0-9]{7}$ (matches 7-char git SHA tags from CI) - Alias: app (matches ArgoCD app annotation) --- infra/portfolio/base/deployment.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infra/portfolio/base/deployment.yaml b/infra/portfolio/base/deployment.yaml index bca34cf..5c9fc16 100644 --- a/infra/portfolio/base/deployment.yaml +++ b/infra/portfolio/base/deployment.yaml @@ -7,8 +7,9 @@ metadata: app.kubernetes.io/name: portfolio app.kubernetes.io/component: web annotations: - argocd-image-updater.argoproj.io/image-list: portfolio=forgejo.riotpiao.com/rock/portfolio - argocd-image-updater.argoproj.io/portfolio.update-strategy: latest + argocd-image-updater.argoproj.io/image-list: app=forgejo.riotpiao.com/rock/portfolio + argocd-image-updater.argoproj.io/app.update-strategy: newest-build + argocd-image-updater.argoproj.io/app.allow-tags: "regexp:^[a-f0-9]{7}$" spec: replicas: 2 selector: