zola 0.23.6, in the image and the flake together

zola 0.23 no longer accepts `enabled` under [markdown.highlighting]
(the section itself turns highlighting on) and keeps its binary at
/zola in the image. Move the image pin and nixpkgs in flake.lock (which
brings the same 0.23.6 to the tests and zola serve) in one change, so
the two never split again, and let Renovate propose zola again.

Rollback: revert this commit (image, flake.lock and config go back
together).

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-13 03:25:27 +04:00
commit 848bd6d26f
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -1,10 +1,11 @@
# Keep in step with the zola in flake.nix (tests, local serve); Renovate
# leaves this pin alone (renovate.json). 0.23 changes config.toml.
FROM ghcr.io/getzola/zola:v0.22.1 AS build
# Keep in step with the zola in flake.nix (tests, local serve): bump this
# pin together with nixpkgs in flake.lock.
FROM ghcr.io/getzola/zola:v0.23.6 AS build
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
# zola is /zola in the image since 0.23, not on PATH
RUN ["/zola", "build"]
FROM nginx:1.30.6-alpine