hugo upgrade
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build was killed Details

This commit is contained in:
Paolo Asperti 2022-12-26 11:42:13 +01:00
parent db49a29b7f
commit a6d1d3cfd3
Signed by: paspo
GPG Key ID: 06D46905D19D5182
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
FROM alpine:edge
ARG HUGO_VERSION=0.109.0
RUN \
apk -U add wget && \
wget -O - "https://github.com/gohugoio/hugo/releases/download/v0.104.2/hugo_0.104.2_linux-amd64.tar.gz" | tar xvzf - -C /usr/bin
wget -O - "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.tar.gz" | tar xvzf - -C /usr/bin
ENTRYPOINT [ "/usr/bin/hugo" ]