forked from trichner/berryhunter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild.yaml
49 lines (46 loc) · 1.19 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
steps:
- id: build_berryhunterd
waitFor: ['-']
name: 'gcr.io/cloud-builders/docker'
entrypoint: bash
args:
- -c
- |
docker build \
-t gcr.io/$PROJECT_ID/berryhunterd:rev-$SHORT_SHA \
-f Dockerfile.berryhunterd .
- id: build_chieftaind
waitFor: ['-']
name: 'gcr.io/cloud-builders/docker'
entrypoint: bash
args:
- -c
- |
docker build \
-t gcr.io/$PROJECT_ID/chieftaind:rev-$SHORT_SHA \
-f Dockerfile.chieftaind .
- id: build_berryhunter_edge
waitFor: ['-']
name: 'gcr.io/cloud-builders/docker'
entrypoint: bash
args:
- -c
- |
docker build \
-t gcr.io/$PROJECT_ID/berryhunter-edge:rev-$SHORT_SHA \
-f Dockerfile.berryhunter-edge .
- id: build_berryhunter_web
waitFor: ['-']
name: 'gcr.io/cloud-builders/docker'
entrypoint: bash
args:
- -c
- |
docker build \
-t gcr.io/$PROJECT_ID/berryhunter-web:rev-$SHORT_SHA \
-f Dockerfile.berryhunter-web .
images:
- 'gcr.io/$PROJECT_ID/berryhunterd:rev-$SHORT_SHA'
- 'gcr.io/$PROJECT_ID/chieftaind:rev-$SHORT_SHA'
- 'gcr.io/$PROJECT_ID/berryhunter-edge:rev-$SHORT_SHA'
- 'gcr.io/$PROJECT_ID/berryhunter-web:rev-$SHORT_SHA'