Skip to content

Commit a5983eb

Browse files
committed
Add Google Cloud SDK setup
1 parent 593af7e commit a5983eb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/gitops-staging.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,16 @@ jobs:
262262
workload_identity_provider: "projects/409661704476/locations/global/workloadIdentityPools/ga-pool/providers/github-oidc-provider"
263263
service_account: "speakeasy-registry-ga-ci@linen-analyst-344721.iam.gserviceaccount.com"
264264

265+
- name: Setup Google Cloud SDK
266+
if: ${{ env.SERVER_IMAGE_TAG != '' }}
267+
uses: google-github-actions/setup-gcloud@v2
268+
with:
269+
version: "latest"
270+
265271
- name: Deploy to Staging using Terraform
266272
if: ${{ env.SERVER_IMAGE_TAG != '' }}
267273
env:
268274
GH_TOKEN: ${{ secrets.GITOPS_TOKEN }}
269-
GOOGLE_APPLICATION_CREDENTIALS: ""
270275
run: |
271276
cd gitops-repo
272277

0 commit comments

Comments
 (0)