fix: update kubeconfig path in Helm deployment commands
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:48:18 -05:00
parent f6341b42d7
commit 869d00dbc3

View File

@@ -30,8 +30,8 @@ jobs:
name: Push Docker image
- env:
KUBECONFIG: '${{ secrets.KUBECONFIG }}'
run: echo $KUBECONFIG > /run/secrets/kubeconfig && \
run: echo $KUBECONFIG > /tmp/kubeconfig && \
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
/usr/local/bin/helm upgrade --kubeconfig /tmp/kubeconfig --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm char