Skip to content

Commit

Permalink
fix: service account lives in sac
Browse files Browse the repository at this point in the history
  • Loading branch information
bukzor committed May 10, 2024
1 parent b54d0f8 commit 34d077b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _send-to-devinfra-metrics/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ runs:
(
echo "timestamp=$(date -u -Ins)"
echo "gcs_bucket=gs://$PROJECT--metrics"
echo "sac_project=sac-$DEPLOY_ENVIRON-sa"
echo -n "workload_identity_provider="
if [ "$DEPLOY_ENVIRON" = "dev" ]; then
echo "projects/307284466893/locations/global/workloadIdentityPools/dev-github/providers/github-oidc-pool"
Expand Down Expand Up @@ -71,7 +73,7 @@ runs:
with:
workload_identity_provider: ${{ env.workload_identity_provider }}
service_account:
collect-metrics@${{ inputs._gcp_project }}.iam.gserviceaccount.com
collect-metrics@${{ env.sac_project }}.iam.gserviceaccount.com

- name: Upload
id: upload
Expand Down

0 comments on commit 34d077b

Please sign in to comment.