From a71a83d2650d43087a8da82e71e175f53bc04c92 Mon Sep 17 00:00:00 2001 From: June Date: Wed, 23 Jul 2025 22:04:40 +0200 Subject: [PATCH 1/2] switch to hugomods hugo debian-node-lts image As the current image is out-of-date, the GitLab documentation also uses a hugomods image and as we're already using one in other repos, switch to it. https://docs.gitlab.com/tutorials/hugo/#add-your-gitlab-configuration-options https://docker.hugomods.com/ https://github.com/hugomods/docker https://hub.docker.com/r/hugomods/hugo --- .forgejo/workflows/deploy.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 25ff1e8..affec8f 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -13,7 +13,7 @@ jobs: build: runs-on: docker container: - image: registry.gitlab.com/pages/hugo/hugo_extended:latest + image: hugomods/hugo:debian-node-lts-0.148.1 steps: - name: Pipeline info run: | @@ -21,13 +21,11 @@ jobs: - name: Install packages run: | - apk update - # For CI actions. - apk add nodejs-current + apt update # For website build. - apk add tzdata coreutils curl jq git + apt install -y curl jq git # For uploading. - apk add rsync openssh + apt install -y rsync ssh - uses: actions/checkout@v4 with: From c777d2216925505140974aa6fb48a766b1a9f728 Mon Sep 17 00:00:00 2001 From: June Date: Wed, 23 Jul 2025 22:26:52 +0200 Subject: [PATCH 2/2] switch to hugomods hugo image As the current image is out-of-date, the GitLab documentation also uses a hugomods image and as we're already using one in other repos, switch to it. Match the hugo version currently in use for now as the latest version doesn't build the website. https://docs.gitlab.com/tutorials/hugo/#add-your-gitlab-configuration-options https://docker.hugomods.com/ https://github.com/hugomods/docker https://hub.docker.com/r/hugomods/hugo --- .forgejo/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 25ff1e8..40f6129 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -13,7 +13,7 @@ jobs: build: runs-on: docker container: - image: registry.gitlab.com/pages/hugo/hugo_extended:latest + image: hugomods/hugo:debian-node-lts-0.140.2 steps: - name: Pipeline info run: |