ci debug
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-01-13 11:34:36 +01:00
parent 7e15b66357
commit 528af584ba

View File

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