From 916a2071d983757d7bd9930100da12dfae9e9e21 Mon Sep 17 00:00:00 2001 From: Flea Flicker Date: Fri, 10 Apr 2026 06:05:41 +0000 Subject: [PATCH] fix: update seed job image tag in promote-to-uat workflow The workflow was not updating the seed job image tag when promoting to UAT, causing Flux to apply a stale image. Now it updates the image like it does for the migrate job. Co-Authored-By: Paperclip --- .github/workflows/promote-to-uat.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/promote-to-uat.yml b/.github/workflows/promote-to-uat.yml index a82ae46..a38d6a7 100644 --- a/.github/workflows/promote-to-uat.yml +++ b/.github/workflows/promote-to-uat.yml @@ -62,11 +62,12 @@ jobs: yq -i '.spec.template.spec.containers[0].image = "ghcr.io/groombook/migrate:" + env(TAG)' "$MIGRATE_JOB" fi - # Update seed Job name to include short SHA (immutable template fix) + # Update seed Job name to include short SHA and update image tag (immutable template fix) SEED_JOB="apps/groombook/base/seed-job.yaml" if [ -f "$SEED_JOB" ]; then yq -i '.metadata.name = "seed-test-data-" + env(SHORT_SHA)' "$SEED_JOB" yq -i '.metadata.annotations."groombook.app/deploy-version" = env(TAG)' "$SEED_JOB" + yq -i '.spec.template.spec.containers[0].image = "ghcr.io/groombook/seed:" + env(TAG)' "$SEED_JOB" fi git -C /tmp/infra diff --stat