feat: update to use go 1.22 (#1332)

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2024-02-08 01:56:44 +01:00 committed by GitHub
parent ff3818b524
commit 59d2d9f851
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.21-alpine as builder FROM --platform=$BUILDPLATFORM golang:1.22-alpine as builder
RUN apk add --no-cache make git RUN apk add --no-cache make git
WORKDIR /workspace/helmfile WORKDIR /workspace/helmfile
@ -12,7 +12,7 @@ RUN make static-${TARGETOS}-${TARGETARCH}
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
FROM alpine:3.16 FROM alpine:3.19
LABEL org.opencontainers.image.source https://github.com/helmfile/helmfile LABEL org.opencontainers.image.source https://github.com/helmfile/helmfile

View File

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.21-alpine as builder FROM --platform=$BUILDPLATFORM golang:1.22-alpine as builder
RUN apk add --no-cache make git RUN apk add --no-cache make git
WORKDIR /workspace/helmfile WORKDIR /workspace/helmfile

View File

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.21-alpine as builder FROM --platform=$BUILDPLATFORM golang:1.22-alpine as builder
RUN apk add --no-cache make git RUN apk add --no-cache make git
WORKDIR /workspace/helmfile WORKDIR /workspace/helmfile

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/helmfile/helmfile module github.com/helmfile/helmfile
go 1.21 go 1.22
require ( require (
github.com/Masterminds/semver/v3 v3.2.1 github.com/Masterminds/semver/v3 v3.2.1