Skip to content

Commit

Permalink
build: require go v1.22
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jan--f authored and marioferh committed Jun 13, 2024
1 parent 4bc0520 commit e5c0673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.21 as builder
FROM golang:1.22 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module github.com/rhobs/observability-operator

go 1.21
toolchain go1.22.2
go 1.22.0

toolchain go1.22.3

require (
github.com/go-logr/logr v1.4.1
Expand Down

0 comments on commit e5c0673

Please sign in to comment.