This commit is contained in:
2025-08-12 18:53:40 +05:30
parent 906dfd8b61
commit 39dc5c8c08
2 changed files with 22 additions and 0 deletions

12
.crow/docker-build.yaml Normal file
View File

@@ -0,0 +1,12 @@
publish-next-agent:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: ryuupendragon/caddy-test
dockerfile: Dockerfile
# platforms: linux/amd64,linux/arm64/v8
tag: latest
username:
from_secret: DOCKERHUB_USERNAME
password:
from_secret: DOCKERHUB_TOKEN
dry-run: true

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM caddy:2.10.0-builder AS builder
RUN xcaddy build \
--with github.com/hslatman/caddy-crowdsec-bouncer/http \
--with github.com/hslatman/caddy-crowdsec-bouncer/layer4 \
--with github.com/hslatman/caddy-crowdsec-bouncer/appsec
FROM caddy:2.10.0
COPY --from=builder /usr/bin/caddy /usr/bin/caddy