fix: streamline Helm installation and deployment commands in build and push workflow
Some checks failed
Build and Push to Private Registry11 / build (push) Failing after 9s

This commit is contained in:
stephen schuresko
2025-02-16 21:46:33 -05:00
parent 313ec0eb83
commit 90d40025e2

View File

@@ -30,9 +30,8 @@ jobs:
name: Push Docker image
- env:
KUBECONFIG: '${{ secrets.KUBECONFIG }}'
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
run: echo $KUBECONFIG > /run/secrets/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