Skip to content

Commit

Permalink
setup-gcloud@v1 needs a separate gga/auth action
Browse files Browse the repository at this point in the history
Moving from v0 to v1 in PR #520 removed the deprecated service_account_key
option, so we need to recode using google-github-actions/auth.
  • Loading branch information
jmarshall committed Sep 18, 2023
1 parent f128b70 commit 775986e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: "gcloud auth"
uses: google-github-actions/auth@v1
with:
credentials_json: '${{ secrets.GCP_SERVER_DEPLOY_KEY }}'

- name: "gcloud setup"
uses: google-github-actions/setup-gcloud@v1
with:
project_id: sample-metadata
service_account_key: ${{ secrets.GCP_SERVER_DEPLOY_KEY }}

- name: "gcloud docker auth"
run: |
Expand Down

0 comments on commit 775986e

Please sign in to comment.