forked from celo-org/blockscout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild.yaml
24 lines (23 loc) · 869 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
steps:
- name: "gcr.io/kaniko-project/executor:v1.6.0"
args: [
"--cache=true",
"--build-arg", "FORCE_MIX_COMPILE_CACHE_MISS=$COMMIT_SHA",
"--destination=gcr.io/$PROJECT_ID/blockscout:$COMMIT_SHA",
"--dockerfile", "docker/Dockerfile",
"--context", "dir://."]
waitFor: ["-"]
- name: "gcr.io/kaniko-project/executor:v1.6.0"
args: [
"--cache=true",
"--destination=gcr.io/$PROJECT_ID/blockscout:api-$COMMIT_SHA",
"--dockerfile", "docker/Dockerfile",
"--build-arg", "FORCE_MIX_COMPILE_CACHE_MISS=$COMMIT_SHA",
"--build-arg", "DISABLE_WRITE_API=true",
"--build-arg", "DISABLE_INDEXER=true",
"--build-arg", "DISABLE_WEBAPP=true",
"--context", "dir://."]
waitFor: ["-"]
options:
machineType: 'N1_HIGHCPU_32'
timeout: 1200s