Skip to content

Commit a86446a

Browse files
authored
Fix gcloud login in publish workflow. Closes #337
1 parent 7808b11 commit a86446a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,15 @@ jobs:
4545
exit 1
4646
fi
4747
48-
- name: Get GCloud CLI
49-
uses: google-github-actions/setup-gcloud@v1.1.1
48+
- name: Authenticate GCloud
49+
uses: google-github-actions/auth@v1
50+
with:
51+
credentials_json: ${{ secrets.STEAMPIPE_REGISTRY_SA_KEY }}
52+
53+
- name: Configure GCloud CLI project
54+
uses: 'google-github-actions/setup-gcloud@v1'
5055
with:
51-
service_account_key: ${{ secrets.STEAMPIPE_REGISTRY_SA_KEY }}
5256
project_id: ${{ env.PROJECT_ID }}
53-
export_default_credentials: true
5457

5558
- name: Setup GCloud CLI
5659
run: |-

0 commit comments

Comments
 (0)