We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a61782 commit 40d8b9bCopy full SHA for 40d8b9b
cloudbuild.yaml
@@ -110,6 +110,7 @@ steps:
110
--boot-disk-size $_DISK_SIZE \
111
--container-env AGENTS_BUCKET_NAME=${bucket_name},CHARACTER_FILE=${_CHARACTER_FILE} \
112
--scopes=cloud-platform \
113
+ --service-account=$_SERVICE_ACCOUNT \
114
--metadata-from-file startup-script=startup.sh || { echo "Instance creation failed"; exit 1; }
115
echo "Instance creation completed"
116
fi
@@ -120,6 +121,7 @@ substitutions:
120
121
_DISK_SIZE: 30GB
122
_NETWORK: agents-vpc
123
_SUBNET: agents-subnet
124
+ _SERVICE_ACCOUNT: SERVICE-ACCOUNT@[PROJECT-ID].iam.gserviceaccount.com
125
_CHARACTER_FILE: default.character.json
126
_SUFFIX: agent
127
0 commit comments