forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ko.yaml
16 lines (15 loc) · 1016 Bytes
/
.ko.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
defaultBaseImage: gcr.io/distroless/static:nonroot
baseImageOverrides:
# These base images run as root, which is needed for how they handle SSH credentials.
# They are produced from ./images/Dockerfile
github.com/tektoncd/pipeline/cmd/creds-init: gcr.io/tekton-nightly/github.com/tektoncd/pipeline/build-base:latest
github.com/tektoncd/pipeline/cmd/git-init: gcr.io/tekton-nightly/github.com/tektoncd/pipeline/build-base:latest
# GCS fetcher needs root due to workspace permissions
github.com/tektoncd/pipeline/vendor/github.com/GoogleCloudPlatform/cloud-builders/gcs-fetcher/cmd/gcs-fetcher: gcr.io/distroless/static:latest
# Our entrypoint image does not need root, it simply needs to be able to 'cp' the binary into a shared location.
github.com/tektoncd/pipeline/cmd/entrypoint: gcr.io/distroless/base:debug-nonroot
baseBuildOverrides:
github.com/tektoncd/pipeline/cmd/controller:
flags:
- name: ldflags
value: "-X github.com/tektoncd/pipeline/pkg/version.PipelineVersion=devel"