feat: add caddy image
Some checks failed
Image builds / build_images (caddy) (push) Successful in 3m12s
Renovate / renovate (push) Failing after 1s
Image builds / build_images (renovate) (push) Successful in 7m59s

This commit is contained in:
Peter 2024-10-23 19:56:30 +02:00
parent 235387c37e
commit bd5ac7f388
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 16 additions and 0 deletions

View file

@ -13,6 +13,7 @@ jobs:
matrix:
image:
- renovate
- caddy
runs-on: ubuntu-latest
steps:
- name: Checkout

15
caddy/Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM docker.io/golang:1.23-alpine AS builder
WORKDIR /work
RUN go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
RUN xcaddy build \
--output ./caddy \
--with github.com/sagikazarmark/caddy-fs-s3
FROM scratch
COPY --from=builder /work/caddy /caddy
ENTRYPOINT ["/caddy"]