From 2054fb3ce858a1a0b55cc5f9f38a13933c292631 Mon Sep 17 00:00:00 2001 From: Basma1912 Date: Sun, 22 Sep 2024 17:16:51 -0400 Subject: [PATCH] chore(githubAction):add build Signed-off-by: Basma1912 --- .github/workflows/build-and-push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 9ac9c5f9e6d..a6ba8495968 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -97,7 +97,7 @@ jobs: with: token_format: access_token service_account: artifact-writer@${{ env.GCP_PROJECT_ID }}.iam.gserviceaccount.com - workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_POOL_PROJECT_NUMBER }} + workload_identity_provider: ${{ env.GCPV2_WORKLOAD_IDENTITY_POOL_PROJECT_NUMBER }} - id: docker_login name: Log in to the container registry @@ -138,7 +138,7 @@ jobs: with: token_format: access_token service_account: deploy-${{ needs.build.outputs.deployment_env }}@moz-fx-sumo-${{ needs.build.outputs.deployment_realm }}.iam.gserviceaccount.com - workload_identity_provider: projects/324168772199/locations/global/workloadIdentityPools/github-actions/providers/github-actions + workload_identity_provider: ${{ env.GCPV2_WORKLOAD_IDENTITY_POOL_PROJECT_NUMBER }} - id: docker_login name: docker login