forked from google/trillian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudbuild_tag.yaml
61 lines (61 loc) · 1.52 KB
/
cloudbuild_tag.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
substitutions:
_MYSQL_TAG: "5.7"
steps:
- id: pull_mysql
name : gcr.io/cloud-builders/docker
args:
- pull
- marketplace.gcr.io/google/mysql5:${_MYSQL_TAG}
- id: tag_mysql
name: gcr.io/cloud-builders/docker
args:
- tag
- marketplace.gcr.io/google/mysql5:${_MYSQL_TAG}
- gcr.io/${PROJECT_ID}/mysql5:${_MYSQL_TAG}
waitFor:
- pull_mysql
- id: push_mysql
name: gcr.io/cloud-builders/docker
args:
- push
- gcr.io/${PROJECT_ID}/mysql5:${_MYSQL_TAG}
waitFor:
- tag_mysql
- id: build_db_server
name: gcr.io/cloud-builders/docker
args:
- build
- --file=examples/deployment/docker/db_server/Dockerfile
- --tag=gcr.io/${PROJECT_ID}/db_server:${TAG_NAME}
- .
waitFor:
- push_mysql
- id: build_log_server
name: gcr.io/cloud-builders/docker
args:
- build
- --file=examples/deployment/docker/log_server/Dockerfile
- --tag=gcr.io/${PROJECT_ID}/log_server:${TAG_NAME}
- .
waitFor: ["-"]
- id: build_log_signer
name: gcr.io/cloud-builders/docker
args:
- build
- --file=examples/deployment/docker/log_signer/Dockerfile
- --tag=gcr.io/${PROJECT_ID}/log_signer:${TAG_NAME}
- .
waitFor: ["-"]
- id: build_map_server
name: gcr.io/cloud-builders/docker
args:
- build
- --file=examples/deployment/docker/map_server/Dockerfile
- --tag=gcr.io/${PROJECT_ID}/map_server:${TAG_NAME}
- .
waitFor: ["-"]
images:
- gcr.io/${PROJECT_ID}/db_server:${TAG_NAME}
- gcr.io/${PROJECT_ID}/log_server:${TAG_NAME}
- gcr.io/${PROJECT_ID}/log_signer:${TAG_NAME}
- gcr.io/${PROJECT_ID}/map_server:${TAG_NAME}