Skip to content

Commit e5c0673

Browse files
jan--fmarioferh
authored andcommitted
build: require go v1.22
This fixes our current ci issues. Seems like some dependencies have updated to go1.22 and operator-sdk generate is not backwards compatible. kubernetes-sigs/controller-runtime#2720 has some details. Signed-off-by: Jan Fajerski <[email protected]>
1 parent 4bc0520 commit e5c0673

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.21 as builder
2+
FROM golang:1.22 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

go.mod

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
module github.com/rhobs/observability-operator
22

3-
go 1.21
4-
toolchain go1.22.2
3+
go 1.22.0
4+
5+
toolchain go1.22.3
56

67
require (
78
github.com/go-logr/logr v1.4.1

0 commit comments

Comments
 (0)