From 8db977c6f0b46da9374419beb660d7d28083bec9 Mon Sep 17 00:00:00 2001 From: Milas Holsting Date: Mon, 18 May 2026 12:40:20 +0200 Subject: [PATCH] fix not modifying the correct images --- .gitea/workflows/build-push.yaml | 4 ++-- deploy/overlays/production/kustomization.yaml | 19 +++++++------------ 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index a7099f0..2bf5a63 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -94,9 +94,9 @@ jobs: # 2. Update the manifest cd deploy/overlays/production - kustomize edit set image election=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:$IMAGE_TAG + kustomize edit set image main=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:$IMAGE_TAG - kustomize edit set image election-migration=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-migrator:$IMAGE_TAG + kustomize edit set image migrator=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-migrator:$IMAGE_TAG - name: Commit and Push Change run: | # 1. Set identity to fix the "Author identity unknown" error diff --git a/deploy/overlays/production/kustomization.yaml b/deploy/overlays/production/kustomization.yaml index 04a8c46..3470183 100644 --- a/deploy/overlays/production/kustomization.yaml +++ b/deploy/overlays/production/kustomization.yaml @@ -16,15 +16,10 @@ patches: namespace: taskarr images: -- name: election - newName: reg.milasholsting.dk/taskarr/taskarr - newTag: sha-c434f4f -- name: election-migration - newName: reg.milasholsting.dk/taskarr/taskarr-migrator - newTag: sha-c434f4f -- name: main - newName: reg.milasholsting.dk/taskarr/taskarr - newTag: latest -- name: migrator - newName: reg.milasholsting.dk/taskarr/migrator - newTag: latest + - name: main + newName: reg.milasholsting.dk/taskarr/taskarr + newTag: sha-c434f4f + - name: migrator + newName: reg.milasholsting.dk/taskarr/migrator + newTag: sha-c434f4f +