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