Fix: use correct image tag for Hugo build

This commit is contained in:
2026-03-09 05:38:52 +00:00
parent bf330a4f9f
commit 74b5c2ea60

View File

@@ -1,16 +1,15 @@
# Use a specific version tag to bypass 'latest' caching issues
image: klakegg/hugo:ext-alpine
variables:
HUGO_ENV: production
# Blowfish often requires submodules, so we ensure they are fetched
GIT_SUBMODULE_STRATEGY: recursive
pages:
# This image is compatible with GitLab's shell-based runners
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
script:
- hugo version
- hugo
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME
- if: $CI_COMMIT_BRANCH == "master"