feat: add Helm deployment step to build and push workflow
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:
@@ -25,4 +25,8 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- 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
|
||||
- run: docker push kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} # Push the Docker image
|
||||
- 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