Update a hugo version

This commit is contained in:
Nikolai Rodionov 2023-07-16 21:16:24 +02:00
parent 3f0186e572
commit cdc17b3954
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

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