Skip to content

Commit 1b3c535

Browse files
author
Bryan Sieber
committed
Deploying to cloud run; using google-github-actions/auth
1 parent b95142b commit 1b3c535

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build-image.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,10 @@ jobs:
7171
docker push $GCR_REGISTRY/$GCR_REPOSITORY:$IMAGE_TAG
7272
docker push $GCR_REGISTRY/$GCR_REPOSITORY:latest
7373
74-
- name: Login to gcloud
75-
uses: google-github-actions/setup-gcloud@v0
74+
- id: auth
75+
uses: google-github-actions/auth@v0
7676
with:
77-
project_id: ${{ secrets.GCP_PROJECT_ID }}
78-
service_account_email: ${{ secrets.GCP_EMAIL }}
79-
service_account_key: ${{ secrets.GCP_CREDENTIALS }}
77+
credentials_json: ${{ secrets.GCP_CREDENTIALS }}
8078

8179
- name: Deploy to Cloud Run
8280
run: |

0 commit comments

Comments
 (0)