diff --git a/.ko.yaml b/.ko.yaml index 7acd2b7c2a1..b8087691440 100644 --- a/.ko.yaml +++ b/.ko.yaml @@ -3,3 +3,6 @@ baseImageOverrides: # git-init uses a base image that includes Git, and supports running either # as root or as user nonroot with UID 65532. github.com/tektoncd/pipeline/cmd/git-init: gcr.io/tekton-nightly/github.com/tektoncd/pipeline/git-init-build-base:latest + + # pullrequest-init supports running either as root or as user with UID 65532. + github.com/tektoncd/pipeline/cmd/pullrequest-init: gcr.io/distroless/static diff --git a/tekton/publish.yaml b/tekton/publish.yaml index 74df6dbad0d..f0708e092b6 100644 --- a/tekton/publish.yaml +++ b/tekton/publish.yaml @@ -110,6 +110,7 @@ spec: # This matches values configured in .ko.yaml $(params.package)/cmd/git-init: ${CONTAINER_REGISTRY}/$(params.package)/git-init-build-base:latest + $(params.package)/cmd/pullrequest-init: gcr.io/distroless/static EOF cat ${PROJECT_ROOT}/.ko.yaml