Skip to content

Commit

Permalink
use vars and secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
achoimet committed Aug 22, 2024
1 parent 368d8a9 commit 5d6156c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/reusable-extension-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5d6156c

Please sign in to comment.