From a7adf551a1c78031797a1a3c6b225439371a40a6 Mon Sep 17 00:00:00 2001 From: Jakub Ramut Date: Mon, 26 Oct 2026 12:41:02 +0100 Subject: [PATCH] chore: bump go to 1.26.10, golangci-lint to v2.11.4 and runtime base to distroless static-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 b312b2c..e5cde58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ on: env: # Common versions - GO_VERSION: '1.25.10' - GOLANGCI_VERSION: 'v2.8.0' + GO_VERSION: '1.26.10' + GOLANGCI_VERSION: 'v2.11.4' DOCKER_BUILDX_VERSION: 'v0.23.0' # These environment variables are important to the Crossplane CLI install.sh diff --git a/Dockerfile b/Dockerfile index 36b633a..a5e8c32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,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 24b2c54..fd03100 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/upbound/function-aws-query -go 1.25.10 +go 1.26.10 require ( github.com/alecthomas/kong v1.15.0