Skip to content

Commit 0436788

Browse files
authored
feat: add debuggable-scheduler at cloudbuild (#385)
1 parent 35acd13 commit 0436788

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

cloudbuild.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ steps:
1111
- --tag=gcr.io/$PROJECT_ID/simulator-backend:latest
1212
- -f=./simulator/cmd/simulator/Dockerfile
1313
- ./simulator/
14+
- name: gcr.io/cloud-builders/docker
15+
args:
16+
- buildx
17+
- build
18+
- --tag=gcr.io/$PROJECT_ID/debuggable-scheduler:$_GIT_TAG
19+
- --tag=gcr.io/$PROJECT_ID/debuggable-scheduler:latest
20+
- -f=./simulator/cmd/scheduler/Dockerfile
21+
- ./simulator/
1422
- name: gcr.io/cloud-builders/docker
1523
args:
1624
- buildx
@@ -29,6 +37,8 @@ options:
2937
# this will push these images, or cause the build to fail if they weren't built.
3038
images:
3139
- 'gcr.io/$PROJECT_ID/simulator-frontend:$_GIT_TAG'
40+
- 'gcr.io/$PROJECT_ID/simulator-frontend:latest'
41+
- 'gcr.io/$PROJECT_ID/simulator-backend:$_GIT_TAG'
3242
- 'gcr.io/$PROJECT_ID/simulator-backend:latest'
33-
- 'gcr.io/$PROJECT_ID/simulator-frontend:$_GIT_TAG'
34-
- 'gcr.io/$PROJECT_ID/simulator-backend:latest'
43+
- 'gcr.io/$PROJECT_ID/debuggable-scheduler:$_GIT_TAG'
44+
- 'gcr.io/$PROJECT_ID/debuggable-scheduler:latest'

0 commit comments

Comments
 (0)