Skip to content

Commit

Permalink
Update golang to 1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhesh Ghadi <[email protected]>
  • Loading branch information
svghadi committed Nov 6, 2024
1 parent 6f733a9 commit c6cc894
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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: release
namespace: openshift
tag: golang-1.21
tag: golang-1.22
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21'
go-version: '1.22'

- name: Build
run: go build -v ./...
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21 AS build
FROM golang:1.22 AS build
WORKDIR /go/src
COPY . /go/src
RUN GIT_COMMIT=$(git rev-parse HEAD) && \
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/redhat-developer/gitops-backend

go 1.21
go 1.22

require (
github.com/argoproj/argo-cd v0.8.1-0.20210326223336-719d6a9c252e
Expand Down
2 changes: 1 addition & 1 deletion openshift-ci/build-root/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Dockerfile to bootstrap build and test in openshift-ci

FROM registry.ci.openshift.org/openshift/release:golang-1.21
FROM registry.ci.openshift.org/openshift/release:golang-1.22

0 comments on commit c6cc894

Please sign in to comment.