articles
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:40:03 +01:00
parent 528af584ba
commit eb72a2b304
2 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# builder
FROM hugomods/hugo:base-non-root AS builder
ARG BASE_URL ""
# --chown is required since kaniko in woodpecker otherwise copies as root and
# the hugo command below fails since it is executed as hugo
COPY --chown=hugo:hugo content/ /src
RUN id
RUN ls -la /src
RUN if [ "$BASE_URL" = ""]; then hugo; else hugo -b $BASE_URL; fi
# server

View File

@ -1,5 +1,5 @@
+++
date = '2025-01-12T19:33:39+01:00'
draft = true
draft = false
title = 'Test06'
+++