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:
|
on:
|
||||||
@@ -13,6 +13,7 @@ on:
|
|||||||
- qa
|
- qa
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
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 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
|
||||||
- name: 'Deploy'
|
- name: 'Deploy'
|
||||||
uses: deliverybot/helm@v1
|
uses: 'peter-evans/k8s-deploy@v1'
|
||||||
with:
|
with:
|
||||||
release: 'papi'
|
release: 'papi'
|
||||||
namespace: 'default'
|
namespace: 'default'
|
||||||
chart: 'papi-helm/Chart.yaml'
|
chart: 'papi-helm/Chart.yaml'
|
||||||
token: '${{ github.token }}'
|
values: 'papi-helm/values.yaml'
|
||||||
value-files: ['papi-helm/values.yaml']
|
|
||||||
env:
|
env:
|
||||||
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'
|
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG}}'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user