fix: update kubeconfig path in build workflow to use HOME directory
Some checks failed
Build and Push to Private Registry101 / build (push) Failing after 8s

This commit is contained in:
stephen schuresko
2025-02-16 21:51:06 -05:00
parent 70b282c14f
commit 035bf6c519

View File

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