Skip to content

Commit

Permalink
Update cloudbuild.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Kozlowski <[email protected]>
  • Loading branch information
marcinguy authored Jul 7, 2024
1 parent 98dd68f commit 7a3c422
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ steps:
- |
SERVICE_ACCOUNT_NAME=${_SERVICE_ACCOUNT_NAME}
PROJECT_ID=$(gcloud config get-value project)
SERVICE_ACCOUNT_EMAIL="$SERVICE_ACCOUNT_NAME@$PROJECT_ID.iam.gserviceaccount.com"
SERVICE_ACCOUNT_EMAIL="${SERVICE_ACCOUNT_NAME}@${PROJECT_ID}.iam.gserviceaccount.com"
KEY_FILE="/workspace/my-service-account-key.json"
gcloud iam service-accounts keys create $KEY_FILE \
--iam-account=$SERVICE_ACCOUNT_EMAIL
Expand Down Expand Up @@ -88,6 +88,7 @@ images:
options:
defaultLogsBucketBehavior: 'REGIONAL_USER_OWNED_BUCKET'


substitutions:
_PAT: ''
_DOCKER_USERNAME: ''
Expand Down

0 comments on commit 7a3c422

Please sign in to comment.