Skip to content

Commit

Permalink
feat: go 1.22 support
Browse files Browse the repository at this point in the history
  • Loading branch information
shaxbee authored and Zibi Mandziejewicz committed Apr 2, 2024
1 parent ce64064 commit c5446ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions go/helper-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
ARG GOVERSION=1.20
ARG GOVERSION=1.22
FROM --platform=$BUILDPLATFORM golang:${GOVERSION} as delve
ARG BUILDPLATFORM
ARG TARGETOS
ARG TARGETARCH

ARG DELVE_VERSION=1.20.1
ARG DELVE_VERSION=1.22.1

# Patch delve to make defaults for --check-go-version and --only-same-user
# to be set at build time. We must install patch(1) to apply the patch.
Expand Down
12 changes: 6 additions & 6 deletions go/skaffold.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,27 @@ profiles:
- op: add
path: /build/artifacts/-
value:
image: go118app
image: go119app
context: test/goapp
docker:
buildArgs:
GOVERSION: 1.18
GOVERSION: '1.19'
- op: add
path: /build/artifacts/-
value:
image: go119app
image: go120app
context: test/goapp
docker:
buildArgs:
GOVERSION: 1.19
GOVERSION: '1.20'
- op: add
path: /build/artifacts/-
value:
image: go120app
image: go121app
context: test/goapp
docker:
buildArgs:
GOVERSION: '1.20'
GOVERSION: '1.22'
deploy:
kubectl:
manifests:
Expand Down

0 comments on commit c5446ac

Please sign in to comment.