Skip to content

Commit

Permalink
Using WORKLOAD_IDENTITY_PROVIDER and Project as secrets. (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcs-bandihareesh authored Oct 14, 2024
1 parent 2e909a1 commit 723021f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ace-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
project_id: 'som-rit-infrastructure-prod'
workload_identity_provider: 'projects/294515190965/locations/global/workloadIdentityPools/github/providers/susom-github'
project_id: ${{ secrets.WORKLOAD_IDENTITY_PROJECT }}
workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
create_credentials_file: true
export_environment_variables: true
cleanup_credentials: true
Expand All @@ -89,4 +89,4 @@ jobs:
echo "ACCESS_TOKEN=$(gcloud auth print-access-token)" >> $GITHUB_ENV
- name: Deploy Snapshots
run: mvn --batch-mode -e -DskipTests=true deploy -s ~/.m2/settings.xml
run: mvn --batch-mode -e -DskipTests=true deploy -s ~/.m2/settings.xml

0 comments on commit 723021f

Please sign in to comment.