fix: rename workflow to Build and Push to Private Registry and update Helm deployment action
Some checks failed
Build and Push to Private Registry / build (push) Failing after 2s
Some checks failed
Build and Push to Private Registry / build (push) Failing after 2s
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
|
||||
name: Build and Push to Private Registry3
|
||||
name: Build and Push to Private Registry
|
||||
|
||||
|
||||
on:
|
||||
@@ -13,6 +13,7 @@ on:
|
||||
- qa
|
||||
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -26,12 +27,12 @@ jobs:
|
||||
- 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
|
||||
uses: 'peter-evans/k8s-deploy@v1'
|
||||
with:
|
||||
release: 'papi'
|
||||
namespace: 'default'
|
||||
chart: 'papi-helm/Chart.yaml'
|
||||
token: '${{ github.token }}'
|
||||
value-files: ['papi-helm/values.yaml']
|
||||
values: 'papi-helm/values.yaml'
|
||||
env:
|
||||
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'
|
||||
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG}}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user