Skip to content

Commit 4ca5386

Browse files
authored
move to golang 1.24 (#968)
Signed-off-by: Tesshu Flower <[email protected]>
1 parent 6527a59 commit 4ca5386

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the addon controller binary
2-
FROM registry.ci.openshift.org/stolostron/builder:go1.23-linux AS builder
2+
FROM registry.ci.openshift.org/stolostron/builder:go1.24-linux AS builder
33
USER root
44

55
WORKDIR /workspace
@@ -20,7 +20,7 @@ ENV GOFLAGS=-mod=readonly
2020
ENV CGO_ENABLED=1
2121
ARG versionFromGit_arg="(unknown)"
2222
ARG commitFromGit_arg="(unknown)"
23-
RUN GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o controller -ldflags "-X main.versionFromGit=${versionFromGit_arg} -X main.commitFromGit=${commitFromGit_arg}" main.go
23+
RUN GOOS=linux GO111MODULE=on go build -a -o controller -ldflags "-X main.versionFromGit=${versionFromGit_arg} -X main.commitFromGit=${commitFromGit_arg}" main.go
2424

2525
# Final container
2626
FROM registry.access.redhat.com/ubi9-minimal:latest

Dockerfile.rhtap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the addon controller binary
2-
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.23 AS builder
2+
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.24 AS builder
33
USER root
44

55
WORKDIR /workspace

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/stolostron/volsync-addon-controller
22

3-
go 1.23.6
3+
go 1.24.0
44

55
require (
66
github.com/onsi/ginkgo/v2 v2.23.4

0 commit comments

Comments
 (0)