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

Commit c32dc5d

Browse files
committed
Update yaml
1 parent 823fb63 commit c32dc5d

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

cloudbuild.yaml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
steps:
2-
- name: 'gcr.io/cloud-builders/docker'
3-
args: ['build', '-t', 'gcr.io/${PROJECT_ID}/${_SERVICE}', '${_SERVICE}/.']
2+
- name: 'gcr.io/cloud-builders/docker'
3+
args: ['build', '-t', 'gcr.io/${PROJECT_ID}/${_SERVICE}', '${_SERVICE}/.']
44

5-
- name: 'gcr.io/cloud-builders/docker'
6-
args: ['push', 'gcr.io/${PROJECT_ID}/${_SERVICE}']
5+
- name: 'gcr.io/cloud-builders/docker'
6+
args: ['push', 'gcr.io/${PROJECT_ID}/${_SERVICE}']
7+
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}']
713

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}']
1314
images:
1415
- 'gcr.io/${PROJECT_ID}/${_SERVICE}'
1516

1617
substitutions:
17-
_REGION: us-central1
18+
_REGION: us-central1

0 commit comments

Comments
 (0)