Skip to content

Commit

Permalink
update to new gcloud actions
Browse files Browse the repository at this point in the history
  • Loading branch information
g-harel committed Nov 5, 2024
1 parent a64ccf1 commit 30eef25
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ jobs:
- name: go test
uses: cedrickring/[email protected]

# Auth glcoud command.
- uses: 'google-github-actions/auth@v2'
with:
credentials_json: ${{ secrets.GCLOUD_AUTH }}

# Setup gcloud command.
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@main
- uses: google-github-actions/setup-gcloud@v2
with:
version: '275.0.0'
service_account_key: ${{ secrets.GCLOUD_AUTH }}
version: '275.0.0'

# Build new deployable image.
- run: gcloud builds submit --tag gcr.io/npmfs-242515/website
Expand Down

0 comments on commit 30eef25

Please sign in to comment.