Update hugo

This commit is contained in:
Nikolai Rodionov 2024-05-13 12:04:15 +02:00
parent 43fd807fea
commit 65dfdda96d
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -4,7 +4,7 @@
FROM ghcr.io/allanger/dumb-downloader as builder
RUN apt-get update -y && apt-get install tar -y
ENV RUST_LOG=info
ARG HUGO_VERSION=0.125.1
ARG HUGO_VERSION=0.125.7
ARG HUGO_OUTPUT=/tmp/hugo.tar.gz
RUN dudo -l "https://github.com/gohugoio/hugo/releases/download/v{{ version }}/hugo_extended_{{ version }}_{{ os }}-{{ arch }}.tar.gz" -d $HUGO_OUTPUT -p $HUGO_VERSION
RUN tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT