From 38d72a9afd995e825089484245cd8c108c5e023f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez?= <35505302+alvarof2@users.noreply.github.com> Date: Wed, 27 Nov 2024 10:35:45 +0100 Subject: [PATCH] Update GH Actions login GCP Artifact registry --- .github/workflows/add-docker-tag.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/add-docker-tag.yaml b/.github/workflows/add-docker-tag.yaml index e46da07a78..70e4d4a812 100644 --- a/.github/workflows/add-docker-tag.yaml +++ b/.github/workflows/add-docker-tag.yaml @@ -29,13 +29,12 @@ jobs: contents: 'read' id-token: 'write' steps: - - id: auth-gcp-master - name: Authenticate to Google Cloud - uses: google-github-actions/auth@v2 + - name: Login at GCP Artifact Registry + uses: celo-org/reusable-workflows/.github/actions/auth-gcp-artifact-registry@v2.0.5 with: - workload_identity_provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain-add-tag/providers/github-by-repos' - service_account: 'celo-blockchain@devopsre.iam.gserviceaccount.com' - access_token_lifetime: '10m' + workload-id-provider: 'projects/1094498259535/locations/global/workloadIdentityPools/gh-celo-blockchain-dev/providers/github-by-repos' + service-account: 'celo-blockchain-dev@devopsre.iam.gserviceaccount.com' + docker-gcp-registries: us-west1-docker.pkg.dev - name: Install regctl run: |