feat: update build-and-push workflow to use ubuntu-latest-full and add Helm deployment step
Some checks failed
Build and Push to Private Registry101 / build (push) Failing after 6s
Some checks failed
Build and Push to Private Registry101 / build (push) Failing after 6s
This commit is contained in:
@@ -15,7 +15,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-latest-full
|
||||
steps:
|
||||
- name: Extract branch name
|
||||
shell: bash
|
||||
@@ -28,4 +28,9 @@ jobs:
|
||||
name: Build Docker image
|
||||
- run: docker push kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} # Push the Docker image
|
||||
name: Push Docker image
|
||||
- env:
|
||||
KUBEB64: '${{ secrets.KUBEB64 }}'
|
||||
run: mkdir -p $HOME/.kube &&echo "$KUBEB64" | base64 -d > $HOME/.kube/config &&
|
||||
/usr/local/bin/helm upgrade --install papi-git-${{ steps.extract_branch.outputs.branch }} papi-helm/ -f ./papi-helm/v.${{ steps.extract_branch.outputs.branch }}.yaml --set image.tag=${{ steps.extract_branch.outputs.branch }} --set name=papi-${{ steps.extract_branch.outputs.branch }} # Deploy the Helm chart
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user