Fix caddy image
This commit is contained in:
parent
c826f10103
commit
b8f31fff62
2 changed files with 3 additions and 4 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -21,6 +21,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs: prepare
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue