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

This commit is contained in:
stephen schuresko
2025-02-16 21:25:59 -05:00
parent 22ad8be19d
commit c6ccb18c4f

View File

@@ -27,6 +27,6 @@ jobs:
- run: docker build -t kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} . # Build the Docker image
- 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_FILE upgrade --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm char
KUBECONFIG: '${{ secrets.KUBECONFIG }}'
run: echo "curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm && /usr/local/bin/helm upgrade --kubeconfig /run/secrets/kubeconfig --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm char