fix: remove hardcoded seed image in promote-to-uat workflow (GRO-534) #252

Merged
groombook-engineer[bot] merged 5 commits from fix/gro-534-seed-image-tag into main 2026-04-10 10:53:49 +00:00
Showing only changes of commit 916a2071d9 - Show all commits
+2 -1
View File
@@ -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