ci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Wolfgang Hottgenroth 2025-01-13 11:22:54 +01:00
parent a7ec1adc6a
commit 496ea8c462

View File

@ -1,6 +1,7 @@
# builder # builder
FROM hugomods/hugo:base-non-root AS builder FROM hugomods/hugo:base-non-root AS builder
ARG BASE_URL "" ARG BASE_URL ""
USER hugo
COPY content/ /src COPY content/ /src
RUN if [ "$BASE_URL" = ""]; then hugo; else hugo -b $BASE_URL; fi RUN if [ "$BASE_URL" = ""]; then hugo; else hugo -b $BASE_URL; fi