fix: update KUBECONFIG variable reference in Helm upgrade command in build and push workflow
Some checks failed
Build and Push to Private Registry / build (push) Failing after 12s

This commit is contained in:
stephen schuresko
2025-02-16 21:14:35 -05:00
parent d32800f718
commit 22ad8be19d

View File

@@ -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