display download URL for debug purposes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2024-05-08 22:03:50 +02:00
parent 14a03309d3
commit 9fc98a1fd4
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -6,7 +6,9 @@ ARG HUGO_ARCH=amd64
RUN \ RUN \
apk -U add lastversion && \ apk -U add lastversion && \
wget $(lastversion --filter "hugo_extended_.*\-${HUGO_ARCH}\.tar\.gz$" --pre gohugoio/hugo --format assets ) -O - | tar xzv -C /tmp URL=$(lastversion --filter "hugo_extended_.*\-${HUGO_ARCH}\.tar\.gz$" --pre gohugoio/hugo --format assets) && \
echo "Downloading: ${URL}" && \
wget "${URL}" -O - | tar xzv -C /tmp
##### final image ##### final image