temporary fix because of upstream
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Vulnerability Scan / Daily Vulnerability Scan (push) Failing after 4m48s

This commit is contained in:
Paolo Asperti 2024-12-16 15:17:43 +01:00
parent fda5aff7ef
commit 01de5baae1
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -8,6 +8,7 @@ RUN \
apk --no-cache upgrade && \ apk --no-cache upgrade && \
apk --no-cache add curl jq && \ apk --no-cache add curl jq && \
LATEST_RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/gohugoio/hugo/releases/latest | jq --raw-output ".tag_name" | sed 's/^v//' ) && \ LATEST_RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/gohugoio/hugo/releases/latest | jq --raw-output ".tag_name" | sed 's/^v//' ) && \
LATEST_RELEASE=0.139.4 && \
URL="https://github.com/gohugoio/hugo/releases/download/v${LATEST_RELEASE}/hugo_extended_${LATEST_RELEASE}_linux-${HUGO_ARCH}.tar.gz " && \ URL="https://github.com/gohugoio/hugo/releases/download/v${LATEST_RELEASE}/hugo_extended_${LATEST_RELEASE}_linux-${HUGO_ARCH}.tar.gz " && \
echo "Downloading: ${URL}" && \ echo "Downloading: ${URL}" && \
wget "${URL}" -O - | tar xzv -C /tmp wget "${URL}" -O - | tar xzv -C /tmp