diff --git a/Dockerfile b/Dockerfile index cac6dd072f..63045945ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 # Build the manager binary -FROM docker.io/library/golang:1.21 as builder +FROM docker.io/library/golang:1.22 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/api/go.mod b/api/go.mod index 0f3315acca..25b3a492b8 100644 --- a/api/go.mod +++ b/api/go.mod @@ -1,6 +1,8 @@ module github.com/ramendr/ramen/api -go 1.21 +go 1.22 + +toolchain go1.22.5 require ( k8s.io/api v0.29.0 diff --git a/e2e/go.mod b/e2e/go.mod index 51957ff19b..fb0103364a 100644 --- a/e2e/go.mod +++ b/e2e/go.mod @@ -1,6 +1,8 @@ module github.com/ramendr/ramen/e2e -go 1.21 +go 1.22 + +toolchain go1.22.5 require ( github.com/go-logr/logr v1.4.1