Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Commit 823fb63

Browse files
committed
Update cloudbuild.yaml
1 parent abb1818 commit 823fb63

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

cloudbuild.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ steps:
55
- name: 'gcr.io/cloud-builders/docker'
66
args: ['push', 'gcr.io/${PROJECT_ID}/${_SERVICE}']
77

8-
- name: 'gcr.io/cloud-builders/gcloud'
9-
args: ["run", "deploy", "${_SERVICE}",
10-
"--platform", "managed", "--region", "${_REGION}",
11-
"--image", "gcr.io/${PROJECT_ID}/${_SERVICE}"]
8+
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
9+
entrypoint: 'gcloud'
10+
args: ['run', 'deploy', '${_SERVICE}',
11+
'--platform', 'managed', '--region', '${_REGION}',
12+
'--image', 'gcr.io/${PROJECT_ID}/${_SERVICE}']
13+
images:
14+
- 'gcr.io/${PROJECT_ID}/${_SERVICE}'
1215

1316
substitutions:
1417
_REGION: us-central1

0 commit comments

Comments
 (0)