-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudbuild.yaml
89 lines (82 loc) · 2.23 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
steps:
# reservations
- name: 'gcr.io/cloud-builders/docker'
id: 'build-reservations'
args:
[
'build',
'-t',
'us-east4-docker.pkg.dev/disco-skyline-416915/reservations/production',
'-f',
'apps/reservations/Dockerfile',
'.',
]
waitFor: ['-'] # The '-' indicates that this step begins immediately.
- name: 'gcr.io/cloud-builders/docker'
id: 'push-reservations'
args:
[
'push',
'us-east4-docker.pkg.dev/disco-skyline-416915/reservations/production',
]
waitFor: ['build-reservations']
# auth
- name: 'gcr.io/cloud-builders/docker'
id: 'build-auth'
args:
[
'build',
'-t',
'us-east4-docker.pkg.dev/disco-skyline-416915/auth/production',
'-f',
'apps/auth/Dockerfile',
'.',
]
waitFor: ['-'] # The '-' indicates that this step begins immediately.
- name: 'gcr.io/cloud-builders/docker'
id: 'push-auth'
args:
['push', 'us-east4-docker.pkg.dev/disco-skyline-416915/auth/production']
waitFor: ['build-auth']
# payments
- name: 'gcr.io/cloud-builders/docker'
id: 'build-payments'
args:
[
'build',
'-t',
'us-east4-docker.pkg.dev/disco-skyline-416915/payments/production',
'-f',
'apps/payments/Dockerfile',
'.',
]
waitFor: ['-'] # The '-' indicates that this step begins immediately.
- name: 'gcr.io/cloud-builders/docker'
id: 'push-payments'
args:
[
'push',
'us-east4-docker.pkg.dev/disco-skyline-416915/payments/production',
]
waitFor: ['build-payments']
# notifications
- name: 'gcr.io/cloud-builders/docker'
id: 'build-notifications'
args:
[
'build',
'-t',
'us-east4-docker.pkg.dev/disco-skyline-416915/notifications/production',
'-f',
'apps/notifications/Dockerfile',
'.',
]
waitFor: ['-'] # The '-' indicates that this step begins immediately.
- name: 'gcr.io/cloud-builders/docker'
id: 'push-notifications'
args:
[
'push',
'us-east4-docker.pkg.dev/disco-skyline-416915/notifications/production',
]
waitFor: ['build-notifications']