hugo auto upgrade
Some checks failed
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (amd64) (push) Successful in 35s
Container Publish / build-image (arm64) (push) Successful in 29s
Container Publish / update docker manifest (push) Successful in 13s
Vulnerability Scan / Daily Vulnerability Scan (arm64) (push) Failing after 6s
Vulnerability Scan / Daily Vulnerability Scan (amd64) (push) Failing after 6s

This commit is contained in:
2025-09-29 21:03:21 +02:00
parent 0419a180e0
commit 490c7e7313

View File

@@ -8,7 +8,7 @@ RUN \
apk --no-cache upgrade && \
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=0.139.4 && \
echo "Using hugo release: ${LATEST_RELEASE}" && \
URL="https://github.com/gohugoio/hugo/releases/download/v${LATEST_RELEASE}/hugo_extended_${LATEST_RELEASE}_linux-${HUGO_ARCH}.tar.gz " && \
echo "Downloading: ${URL}" && \
wget "${URL}" -O - | tar xzv -C /tmp