Update Ko image to Go 1.20
This commit is contained in:
parent
9ddb1b4f77
commit
7c5449439d
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM docker.io/golang:1.19-bullseye as downloader
|
||||
FROM docker.io/golang:1.20-bullseye as downloader
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
|
@ -7,6 +7,6 @@ RUN apt-get update && \
|
|||
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
|
||||
|
||||
FROM docker.io/golang:1.19-bullseye as final
|
||||
FROM docker.io/golang:1.20-bullseye as final
|
||||
|
||||
COPY --from=downloader /tmp/ko /usr/local/bin/ko
|
||||
|
|
Loading…
Reference in a new issue