From 4ed02ff20e69a3328cb7a857958752e107832ea0 Mon Sep 17 00:00:00 2001 From: June Date: Wed, 23 Jul 2025 22:02:55 +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. Switch to a version matching the current one for now. 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..b23937b 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: | @@ -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 871767b7174216fb45a4d19529d84c20b0fd07c7 Mon Sep 17 00:00:00 2001 From: June Date: Wed, 23 Jul 2025 21:57:05 +0200 Subject: [PATCH 2/2] update to latest node image --- .forgejo/workflows/cleanup.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/cleanup.yaml b/.forgejo/workflows/cleanup.yaml index bf17be8..4b5256d 100644 --- a/.forgejo/workflows/cleanup.yaml +++ b/.forgejo/workflows/cleanup.yaml @@ -7,7 +7,7 @@ jobs: cleanup-staging: runs-on: docker container: - image: code.forgejo.org/oci/node:20-bookworm + image: code.forgejo.org/oci/node:22-bookworm steps: - name: Pipeline info PR run: |