Build with the latest Hugo instead of a pinned release
Build and deploy the poweronoff.click hugo / build (push) Successful in 43s

Use ghcr.io/gohugoio/hugo:latest in CI and locally, so the site always builds
with the current Hugo release (currently v0.169.0). HUGO_IMAGE stays overridable
for debugging a version regression.

Trade-off: builds are no longer reproducible. If an upstream release breaks the
build, pin HUGO_IMAGE locally, then bump PaperMod with `make theme-update`.
This commit is contained in:
morpheus committed 2026-11-06 10:29:33 +01:00
1 parent b59b3bca78
commit c378349cff
3 files changed
+19 -9

No files matched your search

+3 -2
View File
@@ -21,12 +21,13 @@ jobs:
submodules: recursive
# The image runs as a non-root user, so the mounted workspace must be
# writable. Keep HUGO_VERSION in sync with the Makefile.
# writable. Same tag as the Makefile: `latest`, so site builds always use
# the newest Hugo. Pin a tag here only to debug a version regression.
- name: Prepare workspace
run: chmod -R a+rwX .
- name: Build
uses: docker://ghcr.io/gohugoio/hugo:v0.169.0
uses: docker://ghcr.io/gohugoio/hugo:latest
with:
args: --minify