Skip to content

Commit

Permalink
authenticate helm with the cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
tkeburia committed Dec 8, 2023
1 parent a32d17a commit 31ce2e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
echo ${{ secrets.GCR_KEY }} | base64 --decode > gcr-key.json
gcloud auth activate-service-account --key-file=gcr-key.json
gcloud auth configure-docker
gcloud container clusters get-credentials platform-poc-407113-cluster
- uses: actions/setup-java@v3
with:
java-version: '17'
Expand All @@ -27,10 +28,10 @@ jobs:
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Run Maven package and push images
run: mvn clean package -Djib.to.tags=${{ steps.vars.outputs.sha_short }}
- run: echo "🍏 Job's status is ${{ job.status }}."
- name: Use Helm
uses: azure/setup-helm@v1
with:
version: 'v3.13.2'
- name: run helm upgrade
run: ./helm_upgrade.sh ${{ steps.vars.outputs.sha_short }}
run: ./helm_upgrade.sh ${{ steps.vars.outputs.sha_short }}
- run: echo "🍏 Job's status is ${{ job.status }}."

0 comments on commit 31ce2e8

Please sign in to comment.