feat: add deployment step to build and push workflow using Helm
Some checks failed
Build and Push to Private Registry / build (push) Failing after 13s
Some checks failed
Build and Push to Private Registry / build (push) Failing after 13s
This commit is contained in:
@@ -26,4 +26,12 @@ 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: deliverybot/helm@v1
|
||||
with:
|
||||
release: 'nginx'
|
||||
namespace: 'default'
|
||||
chart: 'papi-helm'
|
||||
env:
|
||||
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user