From 5da2d5c67603859c3565ffdcec62200090b88b22 Mon Sep 17 00:00:00 2001 From: Shivam Gutgutia Date: Fri, 15 Dec 2023 14:21:42 +0530 Subject: [PATCH] fix: gcloud cli auth --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09f4364..dacbdfe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,10 +33,11 @@ jobs: tags: shivamgutgutia/contactify:latest - name: Setup gcloud CLI - uses: google-github-actions/setup-gcloud@v1 + uses: google-github-actions/auth@v2 with: + credentials: ${{ secrets.GCLOUD_AUTH_KEY }} project_id: shivam-contacts-generator - service_account_key: ${{ secrets.GCLOUD_AUTH }} + run_as: gutgutia159@gmail.com - name: Deploy to Cloud Run run: |