feat: add deployment step for Helm chart in build-and-push workflow
Some checks failed
Build and Push to Private Registry101 / build (push) Successful in 8s
Build and Push to Private Registry101 / deploy (push) Failing after 5s

This commit is contained in:
stephen schuresko
2025-02-20 12:49:26 -05:00
parent 00d7a9fbec
commit 58f6698c25

View File

@@ -39,6 +39,7 @@ jobs:
- uses: actions/checkout@v3
- env:
KUBEB64: '${{ secrets.KUBEB64 }}'
name: deploy helm
run: mkdir -p $HOME/.kube &&echo "$KUBEB64" | base64 -d > $HOME/.kube/config &&
/usr/local/bin/helm upgrade --install papi-git-${{ steps.extract_branch.outputs.branch }} papi-helm/ -f ./papi-helm/v.${{ steps.extract_branch.outputs.branch }}.yaml --set image.tag=${{ steps.extract_branch.outputs.branch }} --set name=papi-${{ steps.extract_branch.outputs.branch }} # Deploy the Helm chart