fix: update kubeconfig path and streamline Helm upgrade command in build workflow
Some checks failed
Build and Push to Private Registry101 / build (push) Failing after 9s

This commit is contained in:
stephen schuresko
2025-02-16 21:50:21 -05:00
parent d96799e32a
commit 70b282c14f

View File

@@ -30,8 +30,8 @@ jobs:
name: Push Docker image
- env:
KUBECONFIG: '${{ secrets.KUBECONFIG }}'
run: echo $KUBECONFIG > /tmp/kubeconfig &&
run: echo $KUBECONFIG > .kube/config &&
curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm &&
/usr/local/bin/helm upgrade --kubeconfig /tmp/kubeconfig --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm char
/usr/local/bin/helm upgrade --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm char