From 30eef250fe81a3566647ce00027e364f540d26ba Mon Sep 17 00:00:00 2001 From: Gabriel Harel Date: Mon, 4 Nov 2024 22:13:42 -0600 Subject: [PATCH] update to new gcloud actions --- .github/workflows/push.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 91b6240..bc5bdd7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,11 +13,15 @@ jobs: - name: go test uses: cedrickring/golang-action@1.3.0 + # 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