From 5f24de2a3ff701f1ed6e49d7ceb74bfd1d8376ed Mon Sep 17 00:00:00 2001 From: Jakub Ramut Date: Mon, 26 Oct 2026 12:41:01 +0100 Subject: [PATCH] chore: bump go to 1.26.10, golangci-lint to v2.11.4 and runtime base to distroless base-debian13 Signed-off-by: Jakub Ramut --- .github/workflows/ci.yml | 4 ++-- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3de797..9441a11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ on: env: # Common versions - GO_VERSION: '1.25.4' - GOLANGCI_VERSION: 'v2.6.2' + GO_VERSION: '1.26.10' + GOLANGCI_VERSION: 'v2.11.4' DOCKER_BUILDX_VERSION: 'v0.24.0' # These environment variables are important to the Crossplane CLI install.sh diff --git a/Dockerfile b/Dockerfile index 64e579e..39dd982 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/base-debian11 AS image +FROM gcr.io/distroless/base-debian13 AS image WORKDIR / COPY --from=build /function /function EXPOSE 9443 diff --git a/go.mod b/go.mod index 755a720..13f9656 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/crossplane-contrib/function-extra-resources -go 1.24.9 +go 1.26.10 require ( github.com/alecthomas/kong v0.8.1