From 008ccca64d20a5556d7179b7ab81d8f93aea3dcd Mon Sep 17 00:00:00 2001 From: Erhan Cagirici Date: Fri, 23 Oct 2026 17:41:57 +0300 Subject: [PATCH] chore: switch runtime base to distroless static-debian13 and bump go to 1.26.10 Signed-off-by: Erhan Cagirici --- .github/workflows/ci.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 992aa9f..688f14e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ on: env: # Common versions - GO_VERSION: '1.26.9' + GO_VERSION: '1.26.10' GOLANGCI_VERSION: 'v2.14.0' DOCKER_BUILDX_VERSION: 'v0.37.1' diff --git a/Dockerfile b/Dockerfile index e3776be..5f57570 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN --mount=target=. \ GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /function . # Produce the Function image. -FROM gcr.io/distroless/static-debian12:nonroot AS image +FROM gcr.io/distroless/static-debian13:nonroot AS image WORKDIR / COPY --from=build /function /function EXPOSE 9443 diff --git a/go.mod b/go.mod index 400043e..2064900 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/crossplane-contrib/function-patch-and-transform -go 1.26.9 +go 1.26.10 require ( github.com/alecthomas/kong v1.16.0