From 201bee9a2a643541028a9016b7ea2924ecdd8221 Mon Sep 17 00:00:00 2001 From: Andrew Kostka Date: Mon, 28 Oct 2024 15:07:25 +0100 Subject: [PATCH] workflow: fix ArgoCD update in build step (#871) --- .github/workflows/docker.build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.build.yml b/.github/workflows/docker.build.yml index 2d745c42..1c33967b 100644 --- a/.github/workflows/docker.build.yml +++ b/.github/workflows/docker.build.yml @@ -78,7 +78,7 @@ jobs: sed -i "/image:/{n;s/tag:.*/tag: $TAG/;}" ./repos/wbaas-deploy-staging/k8s/helmfile/env/staging/api.values.yaml.gotmpl sed -i "/image:/{n;s/tag:.*/tag: $TAG/;}" ./repos/wbaas-deploy-production/k8s/helmfile/env/production/api.values.yaml.gotmpl - name: Update argo values for local, staging and production - if: github.event_name != 'pull_request' + if: steps.update-check.outputs.match == 'true' id: update-argo-values run: | cd ./repos/wbaas-deploy-staging