dockerfile + build init

This commit is contained in:
2026-07-14 01:13:20 -04:00
commit ddad6e2d3b
2 changed files with 30 additions and 0 deletions
+10
View File
@@ -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
+20
View File
@@ -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