From fab896429f7c3d625eae56e3c0eea8552990749c Mon Sep 17 00:00:00 2001 From: Vsevolod Sauta Date: Sun, 20 Sep 2026 16:59:04 +0300 Subject: [PATCH] Fix Flux image automation: use .Changed and prefer newest tag. ImageUpdateAutomation failed on removed .Updated field; numerical order desc elects the latest run_number-sha tag. --- flux/image-automation.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flux/image-automation.yaml b/flux/image-automation.yaml index 8124a01..3869616 100644 --- a/flux/image-automation.yaml +++ b/flux/image-automation.yaml @@ -28,7 +28,7 @@ spec: extract: '$n' policy: numerical: - order: asc + order: desc --- apiVersion: image.toolkit.fluxcd.io/v1 @@ -50,7 +50,7 @@ spec: email: fluxcdbot@users.noreply.gitea.trinitysan.by name: fluxcdbot messageTemplate: | - chore(deploy): update cursor-devbox image to {{range .Updated.Images}}{{.}}{{end}} + chore(deploy): update cursor-devbox image to {{range .Changed.Images}}{{.}}{{end}} push: branch: master update: