fix github url
Some checks failed
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (amd64) (push) Failing after 20s
Container Publish / build-image (arm64) (push) Successful in 37s
Container Publish / update docker manifest (push) Has been skipped

This commit is contained in:
2025-12-11 16:10:09 +01:00
parent 99af57e0ef
commit f26ca54ac1

View File

@@ -7,7 +7,7 @@ ARG HUGO_ARCH=amd64
RUN \ 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 https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r '.tag_name' | sed 's/^v//' ) && \
echo "Using hugo release: ${LATEST_RELEASE}" && \ 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 " && \ 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}" && \