fix: update Helm installation steps and adjust KUBECONFIG handling in build and push workflow

This commit is contained in:
stephen schuresko
2025-02-16 21:38:53 -05:00
parent c2317b0776
commit f12c4bbde4

View File

@@ -31,6 +31,8 @@ jobs:
name: Push Docker image
- env:
KUBECONFIG: '${{ secrets.KUBECONFIG }}'
run: sleep 1800
#run: 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
run: echo $KUBECONFIG > /run/secrets/kubeconfig
#run: sleep 1800
run: curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm
run: /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