Skip to content

Commit

Permalink
Update to Go v1.22
Browse files Browse the repository at this point in the history
ref: https://issues.redhat.com/browse/ACM-14251
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
  • Loading branch information
dhaiducek authored and openshift-merge-bot[bot] committed Sep 12, 2024
1 parent ba70ad2 commit 7d5db87
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build_root_image:
name: builder
namespace: stolostron
tag: go1.21-linux
tag: go1.22-linux
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Stage 1: Use image builder to build the target binaries
# Copyright Contributors to the Open Cluster Management project

FROM registry.ci.openshift.org/stolostron/builder:go1.21-linux AS builder
FROM registry.ci.openshift.org/stolostron/builder:go1.22-linux AS builder

ENV COMPONENT=governance-policy-addon-controller
ENV REPO_PATH=/go/src/github.com/stolostron/${COMPONENT}
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.rhtap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Stage 1: Use image builder to build the target binaries
# Copyright Contributors to the Open Cluster Management project

FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21 AS builder
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.22 AS builder

ENV COMPONENT=governance-policy-addon-controller
ENV REPO_PATH=/go/src/github.com/stolostron/${COMPONENT}
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 open-cluster-management.io/governance-policy-addon-controller

go 1.21
go 1.22.0

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

0 comments on commit 7d5db87

Please sign in to comment.