Update 'go-ci/Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter 2023-07-19 20:32:10 +00:00
parent f638083774
commit 398ee8bcf1

View file

@ -32,7 +32,7 @@ ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr
# Install GoReleaser
RUN export GORELEASER_VERSION=$(curl https://api.github.com/repos/goreleaser/goreleaser/releases | jq -r '. | first |.tag_name | capture("(?<version>[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)") | .version') && \
curl -Lo /tmp/goreleaser.deb "https://github.com/goreleaser/goreleaser/releases/latest/download/goreleaser_${GORELEASER_VERSION}_arm64.deb " && \
curl -Lo /tmp/goreleaser.deb "https://github.com/goreleaser/goreleaser/releases/latest/download/goreleaser_${GORELEASER_VERSION}_arm64.deb" && \
apt install /tmp/goreleaser.deb && \
rm -f /tmp/*.deb && \
goreleaser --version