Skip to content

Commit d96aa65

Browse files
afrittolitekton-robot
authored andcommitted
Pin the distroless base image to a stable alpine
The "latest" tag in the distroless image we use as base image is based on and alpha release of Alpine 3.19_alpha20230901. Pin the image instead to the latest available version that is based on Alpine 3.18.0 instead. Fixes: #6456 Signed-off-by: Andrea Frittoli <[email protected]>
1 parent a22f812 commit d96aa65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tekton/publish.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ spec:
9494
cd ${PROJECT_ROOT}
9595
9696
# Combine Distroless with a Windows base image, used for the entrypoint image.
97+
# Distroless is pinned to the last version based on Alpine 3.18. Newer versions are based on Alpine 3.19_alpha20230901.
9798
COMBINED_BASE_IMAGE=$(go run ./vendor/github.com/tektoncd/plumbing/cmd/combine/main.go \
98-
cgr.dev/chainguard/static \
99+
cgr.dev/chainguard/static@sha256:67a1b00e0134e2b3a614c7198a26f7deed9d11b7acad4d52c79c0cfd47a2eae7 \
99100
mcr.microsoft.com/windows/nanoserver:ltsc2019 \
100101
mcr.microsoft.com/windows/nanoserver:ltsc2022 \
101102
${CONTAINER_REGISTRY}/$(params.package)/combined-base-image:latest)

0 commit comments

Comments
 (0)