forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild.yaml
28 lines (24 loc) · 942 Bytes
/
cloudbuild.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
steps:
- name: gcr.io/cloud-builders/bazel
args: ['run', '//base']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/base:base', 'gcr.io/$PROJECT_ID/base:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//java:java8']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java:java8', 'gcr.io/$PROJECT_ID/java:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//java/jetty']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java/jetty:jetty', 'gcr.io/$PROJECT_ID/java/jetty:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//python2.7:python27']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/python2.7:python27', 'gcr.io/$PROJECT_ID/python2.7:latest']
# The resulting images to push to GCR.
images: [
'gcr.io/$PROJECT_ID/base:latest',
'gcr.io/$PROJECT_ID/java:latest',
'gcr.io/$PROJECT_ID/java/jetty:latest',
'gcr.io/$PROJECT_ID/python2.7:latest'
]