forked from celo-org/celo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild.yaml
57 lines (49 loc) · 1.58 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
# We use kaniko for building docker images
# More details: https://github.com/GoogleContainerTools/kaniko
steps:
- id: "docker:celotool"
name: gcr.io/kaniko-project/executor:v0.16.0
args: [
"--dockerfile=dockerfiles/celotool/Dockerfile",
"--cache=true",
"--destination=gcr.io/$PROJECT_ID/celo-monorepo:celotool-$COMMIT_SHA"
]
waitFor: ['-']
- id: "docker:cli"
name: gcr.io/kaniko-project/executor:v0.16.0
args: [
"--dockerfile=dockerfiles/cli/Dockerfile",
"--cache=true",
"--destination=gcr.io/$PROJECT_ID/celocli:$COMMIT_SHA",
"--build-arg",
"celo_env=alfajores"
]
waitFor: ['-']
- id: "docker:attestation-service"
name: gcr.io/kaniko-project/executor:v0.16.0
args: [
"--dockerfile=dockerfiles/attestation-service/Dockerfile",
"--cache=true",
"--destination=us.gcr.io/$PROJECT_ID/celo-monorepo:attestation-service-$COMMIT_SHA"
]
waitFor: ['-']
- id: "docker:phone-number-privacy-signer"
name: gcr.io/kaniko-project/executor:v0.16.0
args: [
"--dockerfile=dockerfiles/phone-number-privacy/Dockerfile",
"--cache=true",
"--build-arg=ONLY_PUBLISHED_DEPENDENCIES=", # Use unpublished dependencies.
"--destination=us.gcr.io/$PROJECT_ID/celo-monorepo:phone-number-privacy-$COMMIT_SHA"
]
waitFor: ['-']
- id: "docker:metadata-crawler"
name: gcr.io/kaniko-project/executor:v0.16.0
args: [
"--dockerfile=dockerfiles/metadata-crawler/Dockerfile",
"--cache=true",
"--destination=gcr.io/$PROJECT_ID/celo-monorepo:metadata-crawler-$COMMIT_SHA"
]
waitFor: ['-']
options:
machineType: 'N1_HIGHCPU_8'
timeout: 3000s