Skip to content

LeWimbes/caddy-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caddy with Cloudflare DNS plugin

Build status

Automatically builds and publishes multi‑architecture Docker images for Caddy with the caddy-dns/cloudflare module pre‑installed.


✨ Why use this image?

  • ECH‑ready – Caddy 2.10 introduces Encrypted ClientHello, but it requires a DNS provider module to publish the necessary records. This image is already compiled with the Cloudflare DNS provider, so you can enable ECH right away.
  • Cloudflare DNS provider built-in – use tls.dns.cloudflare, ACME DNS challenges, or ECH without rebuilding Caddy.
  • Multi‑arch – runs on linux/amd64 and linux/arm64.
  • Automatic rebuilds – whenever upstream caddy:latest changes.
  • Available from Docker Hub (lewimbes/caddy-cloudflare) and GHCR (ghcr.io/lewimbes/caddy-cloudflare).

📦 Quick start

# Pull the latest image
docker pull lewimbes/caddy-cloudflare:latest

# Or pin a specific version
docker pull lewimbes/caddy-cloudflare:2.10.0
docker pull lewimbes/caddy-cloudflare:2.10
docker pull lewimbes/caddy-cloudflare:2

🛠️ Build it yourself

docker buildx build \
  --platform linux/amd64,linux/arm64 \
  -t lewimbes/caddy-cloudflare:latest .

🤖 How the workflow works

A single GitHub Actions workflow keeps the image fresh:

  • Triggers

    • Any push to the main branch
    • A daily scheduled run that checks whether caddy:latest has changed upstream
  • If an update is needed, the job:

    • builds Caddy with the Cloudflare DNS module for linux/amd64 and linux/arm64,
    • tags the result (latest, full semver, major‑minor, major),
    • pushes to Docker Hub and GHCR.

See auto-build-on-change.yml for full details.


📝 License

This repository is licensed under the Apache License 2.0.
Caddy, Caddy-Docker and the Cloudflare DNS provider are upstream Apache‑2.0 projects.


Official resources

About

Auto-built multi-arch Caddy image with Cloudflare DNS module, published to Docker Hub & GHCR.

Resources

License

Stars

Watchers

Forks

Packages