Skip to content

Commit bd9e09d

Browse files
committed
Update to Go 1.21
Signed-off-by: Jonathan West <[email protected]>
1 parent 54c7932 commit bd9e09d

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

.ci-operator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
build_root_image:
22
name: release
33
namespace: openshift
4-
tag: golang-1.20
4+
tag: golang-1.21

.github/workflows/go.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: '1.20'
19+
go-version: '1.21'
2020

2121
- name: Build
2222
run: go build -v ./...

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openshift/origin-release:golang-1.20 AS build
1+
FROM openshift/origin-release:golang-1.21 AS build
22
WORKDIR /go/src
33
COPY . /go/src
44
RUN GIT_COMMIT=$(git rev-parse HEAD) && \

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/redhat-developer/gitops-backend
22

3-
go 1.19
3+
go 1.21
44

55
require (
66
github.com/argoproj/argo-cd v0.8.1-0.20210326223336-719d6a9c252e

openshift-ci/build-root/Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# Dockerfile to bootstrap build and test in openshift-ci
22

3-
FROM registry.ci.openshift.org/openshift/release:golang-1.20
4-
5-
RUN yum -y install dnf httpd-tools
3+
FROM registry.ci.openshift.org/openshift/release:golang-1.21

0 commit comments

Comments
 (0)