From 22ad8be19ddfd38e063631aa2eb6b8bb1ca3e473 Mon Sep 17 00:00:00 2001 From: stephen schuresko Date: Sun, 16 Feb 2025 21:14:35 -0500 Subject: [PATCH] fix: update KUBECONFIG variable reference in Helm upgrade command in build and push workflow --- .gitea/workflows/build-and-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 4819b67..78b61f1 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -28,5 +28,5 @@ jobs: - run: docker push kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} # Push the Docker image - env: KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}' - run: curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm && /usr/local/bin/helm --kubeconfig $KUBECONFIG upgrade --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm char + run: curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm && /usr/local/bin/helm --kubeconfig $KUBECONFIG_FILE upgrade --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm char