From fe81c2f661f4831678d65611e51de08af3ae3998 Mon Sep 17 00:00:00 2001 From: Emese Ban Date: Fri, 16 May 2025 11:39:46 +0100 Subject: [PATCH] Upgrade to go 1.24.3 to close out CVE-2025-22871 Signed-off-by: Emese Ban --- .github/workflows/build.yml | 2 +- Dockerfile | 2 +- dockerfiles/lint.Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae822388a..fe23d3a82 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: matrix: go: - 1.23.7 - - 1.24.1 + - 1.24.3 target: - test-coverage - test-s3-storage diff --git a/Dockerfile b/Dockerfile index 8cbce906b..1ba652a20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.23.7 +ARG GO_VERSION=1.24.3 ARG ALPINE_VERSION=3.21 ARG XX_VERSION=1.6.1 diff --git a/dockerfiles/lint.Dockerfile b/dockerfiles/lint.Dockerfile index 62eea27ba..5769a1c36 100644 --- a/dockerfiles/lint.Dockerfile +++ b/dockerfiles/lint.Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.23.7 +ARG GO_VERSION=1.24.3 ARG ALPINE_VERSION=3.21 ARG GOLANGCI_LINT_VERSION=v1.64.8 ARG BUILDTAGS="" diff --git a/go.mod b/go.mod index 4d9d9c2bd..c724ad11f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/distribution/distribution/v3 -go 1.23.7 +go 1.24 require ( cloud.google.com/go/storage v1.45.0