feat: update deployment process to use Helm for chart installation
Some checks failed
Build and Push to Private Registry / build (push) Failing after 11s
Some checks failed
Build and Push to Private Registry / build (push) Failing after 11s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user