Update 'go-ci/Dockerfile'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f638083774
commit
398ee8bcf1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue