From 5387c0375648197c94950de5d95143406a98d37d Mon Sep 17 00:00:00 2001 From: daflyinbed <1677759063@qq.com> Date: Fri, 7 Jun 2024 20:37:55 +0800 Subject: [PATCH] fix: caddy build --- .github/workflows/caddy.Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/caddy.Dockerfile b/.github/workflows/caddy.Dockerfile index bdd4f4967fe85..a5f598f0d6f74 100644 --- a/.github/workflows/caddy.Dockerfile +++ b/.github/workflows/caddy.Dockerfile @@ -3,10 +3,8 @@ FROM caddy:2.8.4-builder AS builder RUN xcaddy build \ --with github.com/caddyserver/cache-handler@v0.13.0 +FROM ghcr.io/mooncellwiki/mw:$VERSION as mw FROM caddy:2.8.4 COPY --from=builder /usr/bin/caddy /usr/bin/caddy - -FROM ghcr.io/mooncellwiki/mw:$VERSION as mw - COPY --from=mw /var/www/html/ /srv/