Skip to content

Commit 270747a

Browse files
imjasonhtekton-robot
authored andcommitted
use gcr.io/distroless/static (rootful)
1 parent b5c45ec commit 270747a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.ko.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ baseImageOverrides:
33
# git-init uses a base image that includes Git, and supports running either
44
# as root or as user nonroot with UID 65532.
55
github.com/tektoncd/pipeline/cmd/git-init: gcr.io/tekton-nightly/github.com/tektoncd/pipeline/git-init-build-base:latest
6+
7+
# pullrequest-init supports running either as root or as user with UID 65532.
8+
github.com/tektoncd/pipeline/cmd/pullrequest-init: gcr.io/distroless/static

tekton/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ spec:
110110
111111
# This matches values configured in .ko.yaml
112112
$(params.package)/cmd/git-init: ${CONTAINER_REGISTRY}/$(params.package)/git-init-build-base:latest
113+
$(params.package)/cmd/pullrequest-init: gcr.io/distroless/static
113114
EOF
114115
115116
cat ${PROJECT_ROOT}/.ko.yaml

0 commit comments

Comments
 (0)