forked from triggermesh/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloudbuild.yaml
More file actions
31 lines (26 loc) · 742 Bytes
/
Copy pathcloudbuild.yaml
File metadata and controls
31 lines (26 loc) · 742 Bytes
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
steps:
- name: gcr.io/kaniko-project/executor:v1.6.0-debug
args:
- --dockerfile=Dockerfile
- --build-arg=MKDOCS_INSIDERS_TOKEN=${_MKDOCS_INSIDERS_TOKEN}
- --destination=gcr.io/$PROJECT_ID/docs:${COMMIT_SHA}
- --destination=gcr.io/$PROJECT_ID/docs:${_KANIKO_IMAGE_TAG}
- --cache-repo=gcr.io/$PROJECT_ID/docs/cache
- --cache=${_KANIKO_USE_BUILD_CACHE}
- --no-push=${_KANIKO_NO_PUSH}
- --snapshotMode=redo
- --use-new-run
- ${_KANIKO_EXTRA_ARGS}
waitFor: ['-']
timeout: 120s
substitutions:
_MKDOCS_INSIDERS_TOKEN:
_KANIKO_IMAGE_TAG: latest
_KANIKO_NO_PUSH: 'false'
_KANIKO_USE_BUILD_CACHE: 'true'
_KANIKO_EXTRA_ARGS:
options:
substitution_option: ALLOW_LOOSE
logging: CLOUD_LOGGING_ONLY
tags:
- docs