forked from GoogleContainerTools/distroless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudbuild.yaml
106 lines (88 loc) · 3.87 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
timeout: 1800s
steps:
- name: gcr.io/cloud-builders/bazel
args: ['run', '//base:static']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/base:static', 'gcr.io/$PROJECT_ID/static:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//base: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', '//base:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/base:debug', 'gcr.io/$PROJECT_ID/base:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//cc']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/cc:cc', 'gcr.io/$PROJECT_ID/cc:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//cc:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/cc:debug', 'gcr.io/$PROJECT_ID/cc:debug']
- 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:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java:debug', 'gcr.io/$PROJECT_ID/java:debug']
- 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', '//java/jetty:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/java/jetty:debug', 'gcr.io/$PROJECT_ID/java/jetty:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/python3:python3']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/python3:python3', 'gcr.io/$PROJECT_ID/python3:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/python3:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/python3:debug', 'gcr.io/$PROJECT_ID/python3:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/python2.7:python27']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/python2.7:python27', 'gcr.io/$PROJECT_ID/python2.7:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/python2.7:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/python2.7:debug', 'gcr.io/$PROJECT_ID/python2.7:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/nodejs']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/nodejs:nodejs', 'gcr.io/$PROJECT_ID/nodejs:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/nodejs:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/nodejs:debug', 'gcr.io/$PROJECT_ID/nodejs:debug']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/dotnet']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/dotnet:dotnet', 'gcr.io/$PROJECT_ID/dotnet:latest']
- name: gcr.io/cloud-builders/bazel
args: ['run', '//experimental/dotnet:debug']
- name: gcr.io/cloud-builders/docker
args: ['tag', 'bazel/experimental/dotnet:debug', 'gcr.io/$PROJECT_ID/dotnet:debug']
images:
- 'gcr.io/$PROJECT_ID/static:latest'
- 'gcr.io/$PROJECT_ID/base:latest'
- 'gcr.io/$PROJECT_ID/base:debug'
- 'gcr.io/$PROJECT_ID/cc:latest'
- 'gcr.io/$PROJECT_ID/cc:debug'
- 'gcr.io/$PROJECT_ID/java:latest'
- 'gcr.io/$PROJECT_ID/java:debug'
- 'gcr.io/$PROJECT_ID/java/jetty:latest'
- 'gcr.io/$PROJECT_ID/java/jetty:debug'
- 'gcr.io/$PROJECT_ID/python3:latest'
- 'gcr.io/$PROJECT_ID/python3:debug'
- 'gcr.io/$PROJECT_ID/python2.7:latest'
- 'gcr.io/$PROJECT_ID/python2.7:debug'
- 'gcr.io/$PROJECT_ID/nodejs:latest'
- 'gcr.io/$PROJECT_ID/nodejs:debug'
- 'gcr.io/$PROJECT_ID/dotnet:latest'
- 'gcr.io/$PROJECT_ID/dotnet:debug'