Update builder and gohugo

This commit is contained in:
Nikolai Rodionov 2024-04-19 17:02:55 +02:00
parent dd6475f3c9
commit 43fd807fea
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ trigger:
- push - push
image-anchor: &image-anchor image-anchor: &image-anchor
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9fabf0ce6eab3a9a9da15b2791e8282afc05ee0b image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9665015b44590b7ce2139f7acbad23af6628fff3
steps: steps:
- <<: *image-anchor - <<: *image-anchor

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.122.0 ARG HUGO_VERSION=0.125.1
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_extended_{{ version }}_{{ os }}-{{ arch }}.tar.gz" -d $HUGO_OUTPUT -p $HUGO_VERSION 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 RUN tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT