forked from triggermesh/knative-lambda-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloudbuild.yaml
More file actions
28 lines (23 loc) · 676 Bytes
/
Copy pathcloudbuild.yaml
File metadata and controls
28 lines (23 loc) · 676 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
steps:
- name: gcr.io/kaniko-project/executor:v1.6.0-debug
args:
- --dockerfile=Dockerfile
- --build-arg=VERSION=${_KANIKO_IMAGE_TAG}
- --destination=gcr.io/$PROJECT_ID/${_RUNTIME}:${COMMIT_SHA}
- --destination=gcr.io/$PROJECT_ID/${_RUNTIME}:${_KANIKO_IMAGE_TAG}
- --cache-repo=gcr.io/$PROJECT_ID/${_RUNTIME}/cache
- --cache=${_KANIKO_USE_BUILD_CACHE}
- --no-push=${_KANIKO_NO_PUSH}
- ${_KANIKO_EXTRA_ARGS}
waitFor: ['-']
timeout: 600s
substitutions:
_RUNTIME:
_KANIKO_IMAGE_TAG: latest
_KANIKO_NO_PUSH: 'false'
_KANIKO_USE_BUILD_CACHE: 'true'
_KANIKO_EXTRA_ARGS:
options:
substitution_option: ALLOW_LOOSE
tags:
- knative-lambda-runtime