From efb6a013ff951feddb7ffe30c073676f2d726da1 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 5 Jun 2023 09:51:30 +0200 Subject: [PATCH 01/19] chore: Upgrade the hugo to 0.112.7 --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 8ad464b..e2a4ea6 100644 --- a/Containerfile +++ b/Containerfile @@ -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.112.5 +ARG HUGO_VERSION=0.112.7 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From 71754190041aa4cf0fc59307793bad09013c5961 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 19 Jun 2023 21:54:38 +0200 Subject: [PATCH 02/19] chore: Upgrade the hugo to 0.114.0 --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index e2a4ea6..d0a64c1 100644 --- a/Containerfile +++ b/Containerfile @@ -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.112.7 +ARG HUGO_VERSION=0.114.0 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From 27e7df91778eb88a9dca99ef1108ba0fe295590f Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 25 Jun 2023 09:52:44 +0200 Subject: [PATCH 03/19] chore: Upgrade the hugo to 0.114.1 --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index d0a64c1..c8205ac 100644 --- a/Containerfile +++ b/Containerfile @@ -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.114.0 +ARG HUGO_VERSION=0.114.1 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From 72cc5a4925ed1cabd9099a26c05e3a09389bf15b Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 5 Jul 2023 10:24:06 +0200 Subject: [PATCH 04/19] chore: Upgrade the hugo to 0.115.1 --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index c8205ac..f5bcfc5 100644 --- a/Containerfile +++ b/Containerfile @@ -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.114.1 +ARG HUGO_VERSION=0.115.1 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From 7390da0aea7c2eea3501201288279bf1392a01a9 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 9 Jul 2023 23:24:18 +0200 Subject: [PATCH 05/19] chore: Upgrade hugo to 0.115.2 --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index f5bcfc5..e9bdf6d 100644 --- a/Containerfile +++ b/Containerfile @@ -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.115.1 +ARG HUGO_VERSION=0.115.2 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From 3f0186e5728137071f361930c4b55367bb55130f Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 16 Jul 2023 21:15:21 +0200 Subject: [PATCH 06/19] Update the builder version --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index af30922..658ab95 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ trigger: steps: - name: Build and push the docker image - image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:896dc589d44bfa3560ee8d0469d5ee6fc4559532 + image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53 privileged: true environment: GITEA_TOKEN: @@ -22,7 +22,7 @@ steps: - build-container - name: Cleanup registry - image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:896dc589d44bfa3560ee8d0469d5ee6fc4559532 + image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53 environment: GITEA_TOKEN: from_secret: GITEA_TOKEN -- 2.45.2 From cdc17b3954a8ac5bca8e98b4148859a9326b05c6 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 16 Jul 2023 21:16:24 +0200 Subject: [PATCH 07/19] Update a hugo version --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index e9bdf6d..e13b1d4 100644 --- a/Containerfile +++ b/Containerfile @@ -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.115.2 +ARG HUGO_VERSION=0.115.3 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From a515792cac44902d50a0bd9ff93349b75f1168f0 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Thu, 20 Jul 2023 11:22:15 +0200 Subject: [PATCH 08/19] Update the hugo version --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index e13b1d4..e48259c 100644 --- a/Containerfile +++ b/Containerfile @@ -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.115.3 +ARG HUGO_VERSION=0.115.4 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From b984892cf77e8a3452a6c2c2aaf4f937b16adc0e Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 31 Jul 2023 18:26:16 +0200 Subject: [PATCH 09/19] chore: Upgrade hugo to 0.116.0 --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index e48259c..ea81449 100644 --- a/Containerfile +++ b/Containerfile @@ -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.115.4 +ARG HUGO_VERSION=0.116.0 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From bad3393cdb76043a255347641d4157f1fae2b813 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 7 Aug 2023 10:02:55 +0200 Subject: [PATCH 10/19] chore: Uograde HUGO to 0.116.1 --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index ea81449..6b688a1 100644 --- a/Containerfile +++ b/Containerfile @@ -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.116.0 +ARG HUGO_VERSION=0.116.1 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From 36d1c8052f2f0c47f6d2a25215b1d607867f33a4 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Fri, 29 Sep 2023 10:03:09 +0200 Subject: [PATCH 11/19] chore: Upgrade Hugo to 0.119.0 --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 6b688a1..599f5ad 100644 --- a/Containerfile +++ b/Containerfile @@ -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.116.1 +ARG HUGO_VERSION=0.119.0 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 tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT -- 2.45.2 From 99967e91f6051148a085cbd50a31ef899fe68349 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Fri, 29 Sep 2023 10:20:35 +0200 Subject: [PATCH 12/19] feat: Upgrade to the extended version of HUGO --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 599f5ad..a96d962 100644 --- a/Containerfile +++ b/Containerfile @@ -6,7 +6,7 @@ RUN apt-get update -y && apt-get install tar -y ENV RUST_LOG=info ARG HUGO_VERSION=0.119.0 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_extended_{{ version }}_{{ os }}-{{ arch }}.tar.gz" -d $HUGO_OUTPUT -p $HUGO_VERSION RUN tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT RUN mkdir /out && mv /tmp/hugo /out/hugo RUN chmod +x /out/hugo -- 2.45.2 From df0ab0c6f98e1921f451eb444aa5e7cb03d1f27b Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Fri, 29 Sep 2023 10:34:06 +0200 Subject: [PATCH 13/19] Switch to Debian --- Containerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index a96d962..5218de1 100644 --- a/Containerfile +++ b/Containerfile @@ -11,8 +11,9 @@ RUN tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT RUN mkdir /out && mv /tmp/hugo /out/hugo RUN chmod +x /out/hugo -FROM registry.hub.docker.com/library/alpine:3.18 -ENV HUGO_BIND=0.0.0.0 HUGO_DESTINATION=public +FROM registry.hub.docker.com/library/debian +ENV HUGO_BIND=0.0.0.0 +ENV HUGO_DESTINATION=public COPY --from=builder /out/hugo /usr/bin/hugo ENTRYPOINT ["hugo"] -- 2.45.2 From 1c95cd03f351a8ded63691fd21bf386d0b971070 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Fri, 8 Dec 2023 09:44:42 +0100 Subject: [PATCH 14/19] Update HUGO to 0.121.0 --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 5218de1..e184cb5 100644 --- a/Containerfile +++ b/Containerfile @@ -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.119.0 +ARG HUGO_VERSION=0.121.0 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 -- 2.45.2 From 4a9e6e5077b9ab30305857140495ccf2374eebf4 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Fri, 8 Dec 2023 18:38:02 +0100 Subject: [PATCH 15/19] Update pipeline --- .drone.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 658ab95..77a82dd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,30 +1,27 @@ ---- # ---------------------------------------------- # -- Build an image and push it to the registry # ---------------------------------------------- kind: pipeline type: docker name: Build the builder - trigger: event: - push - - +environment: + BUILDER_VERSION: 555262114ea81f6f286010474527f419b56d33a3 steps: - name: Build and push the docker image - image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53 + image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:${BUILDER_VERSION} privileged: true environment: GITEA_TOKEN: from_secret: GITEA_TOKEN commands: - build-container - - name: Cleanup registry - image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:f1775ea02b0c985e27449fbabeb810cd07e27f53 + image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:${BUILDER_VERSION} environment: GITEA_TOKEN: from_secret: GITEA_TOKEN - commands: + commands: - cleanup -- 2.45.2 From 3daaf01c9811501f2b4c691f6910e3df285c2007 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Fri, 8 Dec 2023 18:44:07 +0100 Subject: [PATCH 16/19] Try yaml anchors --- .drone.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 77a82dd..576660b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,19 +7,22 @@ name: Build the builder trigger: event: - push -environment: - BUILDER_VERSION: 555262114ea81f6f286010474527f419b56d33a3 + +image-anchor: &image-anchor + image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:555262114ea81f6f286010474527f419b56d33a3 + steps: - - name: Build and push the docker image - image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:${BUILDER_VERSION} + - <<: *image-anchor + name: Build and push the docker image privileged: true environment: GITEA_TOKEN: from_secret: GITEA_TOKEN commands: - build-container - - name: Cleanup registry - image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:${BUILDER_VERSION} + + - <<: *image-anchor + name: Cleanup registry environment: GITEA_TOKEN: from_secret: GITEA_TOKEN -- 2.45.2 From dd6475f3c99b450d334d3377f3c1a1474a341ba7 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 4 Feb 2024 09:08:33 +0100 Subject: [PATCH 17/19] Update hugo version --- .drone.yml | 2 +- Containerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 576660b..abdf61c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ trigger: - push image-anchor: &image-anchor - image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:555262114ea81f6f286010474527f419b56d33a3 + image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9fabf0ce6eab3a9a9da15b2791e8282afc05ee0b steps: - <<: *image-anchor diff --git a/Containerfile b/Containerfile index e184cb5..38fd40e 100644 --- a/Containerfile +++ b/Containerfile @@ -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.121.0 +ARG HUGO_VERSION=0.122.0 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 -- 2.45.2 From 43fd807fea2238853f48f95a435081d88857bb79 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Fri, 19 Apr 2024 17:02:55 +0200 Subject: [PATCH 18/19] Update builder and gohugo --- .drone.yml | 2 +- Containerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index abdf61c..d46084f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ trigger: - push image-anchor: &image-anchor - image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9fabf0ce6eab3a9a9da15b2791e8282afc05ee0b + image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:9665015b44590b7ce2139f7acbad23af6628fff3 steps: - <<: *image-anchor diff --git a/Containerfile b/Containerfile index 38fd40e..f5fd31a 100644 --- a/Containerfile +++ b/Containerfile @@ -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.122.0 +ARG HUGO_VERSION=0.125.1 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 -- 2.45.2 From 65dfdda96d260f559f0f71c2dcfa3d38f3299b9e Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 13 May 2024 12:04:15 +0200 Subject: [PATCH 19/19] Update hugo --- Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index f5fd31a..5fad974 100644 --- a/Containerfile +++ b/Containerfile @@ -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 -- 2.45.2