Skip to content

Commit

Permalink
chore: Update to Go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
grdryn committed Nov 27, 2024
1 parent b44b0cd commit 1d3d1c6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions Dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Build the manager binary
ARG GOLANG_VERSION=1.21

################################################################################
FROM registry.access.redhat.com/ubi8/toolbox as manifests
ARG USE_LOCAL=false
Expand All @@ -15,7 +12,7 @@ RUN if [ "${USE_LOCAL}" != "true" ]; then \
fi

################################################################################
FROM registry.access.redhat.com/ubi8/go-toolset:$GOLANG_VERSION as builder
FROM registry.access.redhat.com/ubi8/go-toolset:latest as builder
ARG CGO_ENABLED=1
USER root
WORKDIR /workspace
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/toolbox.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM registry.fedoraproject.org/fedora-toolbox:38

ARG GOLANG_VERSION=1.21
ARG GOLANG_VERSION=1.22.9
ARG OPERATOR_SDK_VERSION=1.31.0

ENV GOLANG_VERSION=$GOLANG_VERSION \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ catalog-build: opm ## Build a catalog image.
catalog-push: ## Push a catalog image.
$(MAKE) image-push IMG=$(CATALOG_IMG)

TOOLBOX_GOLANG_VERSION := 1.21
TOOLBOX_GOLANG_VERSION := 1.22.9

# Generate a Toolbox container for locally testing changes easily
.PHONY: toolbox
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Additionally installing `Authorino operator` & `Service Mesh operator` enhances

#### Pre-requisites

- Go version **go1.21**
- Go version **go1.22**
- operator-sdk version can be updated to **v1.31.1**

#### Download manifests
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/opendatahub-io/opendatahub-operator/v2

go 1.21
go 1.22

require (
github.com/blang/semver/v4 v4.0.0
Expand Down

0 comments on commit 1d3d1c6

Please sign in to comment.