forked from celo-org/celo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild.yaml
35 lines (30 loc) · 1008 Bytes
/
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
# We use kaniko for building docker images
# More details: https://github.com/GoogleContainerTools/kaniko
steps:
- name: gcr.io/kaniko-project/executor:latest
args: [
"--dockerfile=dockerfiles/monorepo/Dockerfile.celotool",
"--cache=true",
"--destination=gcr.io/$PROJECT_ID/celo-monorepo:celotool-$COMMIT_SHA"
]
id: Build celotool docker image
waitFor: ['-']
- name: gcr.io/kaniko-project/executor:latest
args: [
"--dockerfile=dockerfiles/monorepo/Dockerfile.transaction-metrics-exporter",
"--cache=true",
"--destination=gcr.io/$PROJECT_ID/celo-monorepo:transaction-metrics-exporter-$COMMIT_SHA"
]
id: Build transaction metrics exporter docker image
waitFor: ['-']
- name: gcr.io/kaniko-project/executor:latest
args: [
"--dockerfile=dockerfiles/cli/Dockerfile.cli",
"--cache=true",
"--destination=gcr.io/$PROJECT_ID/celocli:$COMMIT_SHA",
"--build-arg",
"celo_env=alfajores"
]
id: Build CLI docker image
waitFor: ['-']
timeout: 3000s