From 5d6156c44a1f997742d745da9e0ad45a46ea1247 Mon Sep 17 00:00:00 2001 From: "antoine.choimet" Date: Thu, 22 Aug 2024 15:01:29 +0200 Subject: [PATCH] use vars and secrets --- .github/workflows/reusable-extension-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/reusable-extension-ci.yml b/.github/workflows/reusable-extension-ci.yml index 536c2ea..c1ef5df 100644 --- a/.github/workflows/reusable-extension-ci.yml +++ b/.github/workflows/reusable-extension-ci.yml @@ -344,13 +344,11 @@ jobs: - name: Google Auth id: auth uses: 'google-github-actions/auth@v2' - env: - GCP_ARTIFACT_REGISTRY_IDENTITY_PROVIDER: ${{ secrets.GCP_ARTIFACT_REGISTRY_IDENTITY_PROVIDER }} with: token_format: 'access_token' project_id: ${{ vars.GCP_ARTIFACT_REGISTRY_PROJECT_ID }} - service_account: ${{ vars.inputs.GCP_ARTIFACT_REGISTRY_PROJECT_SA }} - workload_identity_provider: ${{ env.GCP_ARTIFACT_REGISTRY_IDENTITY_PROVIDER }} + service_account: ${{ vars.GCP_ARTIFACT_REGISTRY_PROJECT_SA }} + workload_identity_provider: ${{ secrets.GCP_ARTIFACT_REGISTRY_IDENTITY_PROVIDER }} - name: "[build] Upload packages to gcp internal repositories"