chore: update Go to 1.23 and toolchain to 1.23.6 (#8717)

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Janne Kataja <janne.kataja@sdx.com>
pull/8743/head
Matthieu MOREL 2025-03-04 16:33:33 +01:00 committed by GitHub
parent 6a6a237ba7
commit aa88d1cfd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@
# limitations under the License.
# Velero binary build section
FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS velero-builder
FROM --platform=$BUILDPLATFORM golang:1.23-bookworm AS velero-builder
ARG GOPROXY
ARG BIN
@ -49,7 +49,7 @@ RUN mkdir -p /output/usr/bin && \
go clean -modcache -cache
# Restic binary build section
FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS restic-builder
FROM --platform=$BUILDPLATFORM golang:1.23-bookworm AS restic-builder
ARG GOPROXY
ARG BIN

View File

@ -15,7 +15,7 @@
ARG OS_VERSION=1809
# Velero binary build section
FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS velero-builder
FROM --platform=$BUILDPLATFORM golang:1.23-bookworm AS velero-builder
ARG GOPROXY
ARG BIN

View File

@ -52,7 +52,7 @@ git_sha = str(local("git rev-parse HEAD", quiet = True, echo_off = True)).strip(
tilt_helper_dockerfile_header = """
# Tilt image
FROM golang:1.22 as tilt-helper
FROM golang:1.23 as tilt-helper
# Support live reloading with Tilt
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \

4
go.mod
View File

@ -1,8 +1,8 @@
module github.com/vmware-tanzu/velero
go 1.22.0
go 1.23
toolchain go1.22.11
toolchain go1.23.6
require (
cloud.google.com/go/storage v1.50.0

View File

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=$TARGETPLATFORM golang:1.22-bookworm
FROM --platform=$TARGETPLATFORM golang:1.23-bookworm
ARG GOPROXY