azolfagharj/Caddy Builder
Build custom Caddy binaries with xcaddy on GitHub Actions - supports all OSes and architectures. Available on GitHub Marketplace - https://github.com/marketplace/actions/caddy-builder
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| caddy-version | Caddy version to build (tag, branch, commit, or "latest") | no | latest |
| modules | Caddy modules to include (comma or newline separated). Supports module@version and module=path | no | "" |
| replaces | Replace directives for xcaddy --replace (comma or newline separated) | no | "" |
| embeds | Paths for xcaddy --embed. Use format "alias:path" for aliased embeds | no | "" |
| output-dir | Output directory for the built binary | no | . |
| go-version | Go version for xcaddy (e.g. 1.22, 1.23). Use 1.22 if building Caddy v2.8.x | no | 1.22 |
| goos | Target OS (linux, windows, darwin). Empty = use runner OS | no | "" |
| goarch | Target arch (amd64, arm64, arm). Empty = use runner arch | no | "" |
Outputs
| name | description |
|---|---|
| caddy-path | Full path to the built Caddy binary |
| caddy-name | Output filename (e.g. caddy_linux_amd64, caddy_windows_amd64.exe) |
| goos | GOOS value for the runner |
| goarch | GOARCH value for the runner |