Fix caddy image

This commit is contained in:
Jake Walker 2024-11-11 19:34:07 +00:00
parent c826f10103
commit b8f31fff62
2 changed files with 3 additions and 4 deletions

View file

@ -21,6 +21,7 @@ jobs:
runs-on: ubuntu-latest
needs: prepare
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}
steps:
- name: Checkout

View file

@ -1,12 +1,10 @@
ARG CADDY_VERSION=latest
FROM caddy:${CADDY_VERSION}-builder AS builder
FROM caddy:builder AS builder
RUN xcaddy build \
--with github.com/mholt/caddy-webdav \
--with github.com/caddyserver/replace-response \
--with github.com/caddy-dns/cloudflare
FROM caddy:${CADDY_VERSION}-alpine
FROM caddy:alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy