Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/deploy/cloud-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ export GOOGLE_API_KEY=your-api-key

Please make sure you have created a secret which can be read by your service account.


### Cloud Build Permissions

Since the `adk deploy` command uses Google Cloud Build to automate the build process, you must set your default compute service account to have permission to use Cloud Build.
The following command example shows how to grant this permission:

```bash
gcloud projects add-iam-policy-binding [PROJECT_ID] \
--member="serviceAccount:[PROJECT_NUMBER]-compute@developer.gserviceaccount.com" \
--role="roles/cloudbuild.builds.builder"

### Entry for GOOGLE_API_KEY secret

You can create your secret manually or use CLI:
Expand Down
Loading