From 7188110539d6b980f51eadcd4884d95da0a65f83 Mon Sep 17 00:00:00 2001 From: Evgeniy Belyi Date: Mon, 28 Oct 2024 13:12:46 +0200 Subject: [PATCH] Adding login to az and gcp --- .github/workflows/upgrade-environment.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/upgrade-environment.yml b/.github/workflows/upgrade-environment.yml index a06544ecbc..5f14920cf3 100644 --- a/.github/workflows/upgrade-environment.yml +++ b/.github/workflows/upgrade-environment.yml @@ -128,6 +128,19 @@ jobs: role-session-name: github-ci aws-region: ${{ env.AWS_REGION }} + - id: google-auth + name: Authenticate to Google Cloud + uses: google-github-actions/auth@v2 + with: + workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }} + service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }} + + - id: azure-auth + name: Azure login + uses: azure/login@v2 + with: + creds: ${{ secrets.AZURE_CREDENTIALS }} + - name: Download tf state data env: S3_BUCKET: ${{ needs.deploy.outputs.s3-bucket }}