From f3576f85f524c0302724f97ebd1930e7f8315888 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 f3fc8800..06f63de4 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 cad8a9ab..a741fe7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ RUN --mount=target=. \ # Produce the Function image. We use a very lightweight 'distroless' image that # does not include any of the build tools used in previous stages. -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 6d300e23..fa8dda50 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/crossplane-contrib/function-go-templating -go 1.26.9 +go 1.26.10 require ( dario.cat/mergo v1.0.2