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: variables:
HUGO_ENV: production HUGO_ENV: production
# Blowfish often requires submodules, so we ensure they are fetched
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
pages: pages:
# This image is compatible with GitLab's shell-based runners
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
script: script:
- hugo version
- hugo - hugo
artifacts: artifacts:
paths: paths:
- public - public
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME - if: $CI_COMMIT_BRANCH == "master"