chore: update to Go 1.21
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Peter 2023-08-23 23:59:56 +02:00
parent 4bacbaa9b2
commit 8ce3ef0146
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9
2 changed files with 2 additions and 2 deletions

View file

@ -4,6 +4,6 @@ RUN apk add -U --no-cache curl jq && \
export KO_VERSION=$(curl https://api.github.com/repos/ko-build/ko/releases | jq -r '. | first |.tag_name | capture("(?<version>[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)") | .version') && \ export KO_VERSION=$(curl https://api.github.com/repos/ko-build/ko/releases | jq -r '. | first |.tag_name | capture("(?<version>[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)") | .version') && \
curl -L "https://github.com/ko-build/ko/releases/download/v${KO_VERSION}/ko_${KO_VERSION}_Linux_x86_64.tar.gz" | tar xvz -C /tmp curl -L "https://github.com/ko-build/ko/releases/download/v${KO_VERSION}/ko_${KO_VERSION}_Linux_x86_64.tar.gz" | tar xvz -C /tmp
FROM docker.io/golang:1.20-bullseye as final FROM docker.io/golang:1.21-bullseye as final
COPY --from=downloader /tmp/ko /usr/local/bin/ko COPY --from=downloader /tmp/ko /usr/local/bin/ko

View file

@ -1,4 +1,4 @@
FROM docker.io/golang:1-alpine AS go-tools-builder FROM docker.io/golang:1:21-alpine AS go-tools-builder
RUN go install github.com/marwan-at-work/mod/cmd/mod@latest RUN go install github.com/marwan-at-work/mod/cmd/mod@latest