Skip to content

Commit 55eb562

Browse files
authored
updated golang to 1.22 (argoproj-labs#555)
* updated golang to 1.22 --------- Signed-off-by: Noam Gal <[email protected]>
1 parent 7feb557 commit 55eb562

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ USER 999
2525
WORKDIR /home/autopilot
2626

2727
### Build
28-
FROM docker.io/library/golang:1.21.7 as build
28+
FROM docker.io/library/golang:1.22 as build
2929

3030
WORKDIR /go/src/github.com/argoproj-labs/argocd-autopilot
3131

build/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ steps:
1919
prepare_env_vars: &deps
2020
stage: Prepare
2121
title: prepare-env
22-
image: quay.io/codefresh/golang-ci-helper:1.21
22+
image: quay.io/codefresh/golang-ci-helper:1.22
2323
commands:
2424
- cf_export GO111MODULE=on
2525
- cf_export GOCACHE=/codefresh/volume/gocache # change gopath to codefresh shared volume

build/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ steps:
2020
check_version: &deps
2121
stage: Prepare
2222
title: check version
23-
image: quay.io/codefresh/golang-ci-helper:1.21
23+
image: quay.io/codefresh/golang-ci-helper:1.22
2424
commands:
2525
- cf_export GO111MODULE=on
2626
- cf_export GOCACHE=/codefresh/volume/gocache # change gopath to codefresh shared volume

build/sanity.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ steps:
1818
prep: &deps
1919
stage: "prepare"
2020
title: "prepare env vars"
21-
image: quay.io/codefresh/golang-ci-helper:1.21
21+
image: quay.io/codefresh/golang-ci-helper:1.22
2222
commands:
2323
- cf_export GO111MODULE=on
2424
- cf_export NAMESPACE=${{KUBE_NAMESPACE}}-$(date "+%M-%S")

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/argoproj-labs/argocd-autopilot
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
code.gitea.io/sdk/gitea v0.17.1
@@ -23,7 +23,7 @@ require (
2323
k8s.io/apimachinery v0.26.11
2424
k8s.io/cli-runtime v0.26.11
2525
k8s.io/client-go v0.26.11
26-
k8s.io/kubectl v0.26.4
26+
k8s.io/kubectl v0.26.11
2727
sigs.k8s.io/kustomize/api v0.12.1
2828
sigs.k8s.io/kustomize/kyaml v0.13.9
2929
)

0 commit comments

Comments
 (0)