configure caddy and disable build cache
All checks were successful
Build Documentation / build (push) Successful in 26s
Build Documentation / docker (push) Successful in 16s

This commit is contained in:
Tobias Brunner 2025-12-05 08:56:08 +01:00
parent 63016c1dd8
commit 4a4446177b
Signed by: tobru
SSH key fingerprint: SHA256:kOXg1R6c11XW3/Pt9dbLdQvOJGFAy+B2K6v6PtRWBGQ
3 changed files with 10 additions and 2 deletions

View file

@ -62,5 +62,3 @@ jobs:
context: .
push: true
tags: ${{ vars.CONTAINER_REGISTRY }}/servala/documentation:latest
cache-from: type=gha
cache-to: type=gha,mode=max

9
Caddyfile Normal file
View file

@ -0,0 +1,9 @@
:80 {
root * /usr/share/caddy
file_server
log {
output stdout
format console
}
}

View file

@ -1,5 +1,6 @@
FROM docker.io/caddy:latest
COPY site/ /usr/share/caddy/
COPY Caddyfile /etc/caddy/Caddyfile
EXPOSE 80