feat: update deployment process to use Helm for chart installation
Some checks failed
Build and Push to Private Registry / build (push) Failing after 11s

This commit is contained in:
stephen schuresko
2025-02-16 21:07:03 -05:00
parent 5589fc3a75
commit 8c8bc5f30e

View File

@@ -26,13 +26,7 @@ jobs:
- run: docker login kube-reg.fairfaxmedia.net -u docker -p ${{ secrets.DOCK_REG_AUTH }} # Login to private registry
- run: docker build -t kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} . # Build the Docker image
- run: docker push kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} # Push the Docker image
- name: 'Deploy'
uses: 'peter-evans/k8s-deploy@v1'
with:
release: 'papi'
namespace: 'default'
chart: 'papi-helm/Chart.yaml'
values: 'papi-helm/values.yaml'
env:
- env:
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG}}'
run: 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