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 ea7a946 commit 368d8a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/reusable-extension-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,13 @@ 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: ${{ secrets.GCP_ARTIFACT_REGISTRY_IDENTITY_PROVIDER }}
workload_identity_provider: ${{ env.GCP_ARTIFACT_REGISTRY_IDENTITY_PROVIDER }}


- name: "[build] Upload packages to gcp internal repositories"
Expand Down

0 comments on commit 368d8a9

Please sign in to comment.