commit ddad6e2d3b6e8b7caa05747bbf589c8958a1c9a3 Author: Justin Parsell Date: Tue Jul 14 01:13:20 2026 -0400 dockerfile + build init diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..45ece9a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM caddy:2-builder AS builder +RUN xcaddy build \ + --with github.com/lucaslorentz/caddy-docker-proxy/v2 \ + --with github.com/caddy-dns/rfc2136 \ + --with github.com/hslatman/caddy-crowdsec-bouncer/http \ + --with github.com/hslatman/caddy-crowdsec-bouncer/appsec \ + --with github.com/mholt/caddy-l4 + +FROM caddy:2 +COPY --from=builder /usr/bin/caddy /usr/bin/caddy diff --git a/build.yml b/build.yml new file mode 100644 index 0000000..2dfefd6 --- /dev/null +++ b/build.yml @@ -0,0 +1,20 @@ +name: build-caddy +on: + schedule: + - cron: '0 6 * * 1' + workflow_dispatch: {} + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: docker/login-action@v3 + with: + registry: git.penate.io + username: ${{ gitea.actor }} + password: ${{ secrets.GITEA_TOKEN }} + - uses: docker/build-push-action@v6 + with: + push: true + tags: git.parsell.me/you/caddy-custom:latest