diff --git a/tekton/publish.yaml b/tekton/publish.yaml index ad28bb58a73..3f2819e06f5 100644 --- a/tekton/publish.yaml +++ b/tekton/publish.yaml @@ -73,11 +73,15 @@ spec: set -ex cat < /workspace/go/src/github.com/tektoncd/pipeline/.ko.yaml - # By default ko will build images on top of distroless + # This matches the value configured in .ko.yaml + defaultBaseImage: gcr.io/distroless/static:nonroot baseImageOverrides: $(inputs.params.pathToProject)/$(outputs.resources.builtCredsInitImage.url): $(inputs.params.imageRegistry)/$(inputs.params.pathToProject)/build-base:latest $(inputs.params.pathToProject)/$(outputs.resources.builtGitInitImage.url): $(inputs.params.imageRegistry)/$(inputs.params.pathToProject)/build-base:latest - $(inputs.params.pathToProject)/$(outputs.resources.builtEntrypointImage.url): busybox # image should have shell in $PATH + + # These match values configured in .ko.yaml + $(inputs.params.pathToProject)/$(outputs.resources.builtEntrypointImage.url): gcr.io/distroless/base:debug-nonroot + $(inputs.params.pathToPrjoect)/$(outputs.resources.builtGcsFetcherImage.url): gcr.io/distroless/static:latest baseBuildOverrides: $(inputs.params.pathToProject)/$(outputs.resources.builtControllerImage.url): flags: