feat: add caddy image
This commit is contained in:
parent
235387c37e
commit
bd5ac7f388
2 changed files with 16 additions and 0 deletions
|
@ -13,6 +13,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
image:
|
image:
|
||||||
- renovate
|
- renovate
|
||||||
|
- caddy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
15
caddy/Dockerfile
Normal file
15
caddy/Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue