Skip to content

Commit

Permalink
build: require go 1.23 or newer
Browse files Browse the repository at this point in the history
Latest Kubernetes packages depend on Go 1.23.0.

Signed-off-by: Niels de Vos <[email protected]>
  • Loading branch information
nixpanic authored and mergify[bot] committed Dec 17, 2024
1 parent 1e99ab9 commit c5e722e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

# Copy the contents of the repository
COPY . /workspace/go/src/github.com/csi-addons/kubernetes-csi-addons
Expand Down
2 changes: 1 addition & 1 deletion build/Containerfile.sidecar
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the sidecar binary
FROM golang:1.22 AS builder
FROM golang:1.23 AS builder

# Copy the contents of the repository
COPY . /workspace/go/src/github.com/csi-addons/kubernetes-csi-addons
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/csi-addons/kubernetes-csi-addons

go 1.22.7

toolchain go1.22.9
go 1.23.0

require (
github.com/container-storage-interface/spec v1.11.0
Expand Down

0 comments on commit c5e722e

Please sign in to comment.