caddy-retired/build
David Kebler 69e4d51c2a new install script for github releases
xcaddy build added
2020-10-26 10:11:41 -07:00
..
.gitignore new install script for github releases 2020-10-26 10:11:41 -07:00
build new install script for github releases 2020-10-26 10:11:41 -07:00
builds.txt new install script for github releases 2020-10-26 10:11:41 -07:00
deploy new install script for github releases 2020-10-26 10:11:41 -07:00
plugins.txt new install script for github releases 2020-10-26 10:11:41 -07:00
readme.md new install script for github releases 2020-10-26 10:11:41 -07:00
update-xcaddy new install script for github releases 2020-10-26 10:11:41 -07:00

readme.md

Build A Caddy Binary

Setup go and go get

Update xcaddy

run update-xcaddy script

xcaddy is used to build a caddy binary for a particular architecture and with particular plugins.

Edit the build script add/remove plugins to be including with the build.

those will be the --with lines commented lines will ignore that plugin. All plugins will be collected from some url

   --with github.com/iamd3vil/caddy_yaml_adapter \
   --with github.com/caddy-dns/route53 # for route53 dns chanlled

so simply ./build will build the amd64 version. use ./build arm64 for arm64 build

when sucessfully deploy the binary to the caddy deployment repo with ./deploy <arch> then in the caddy deployment repo commit that change and push. Then pull on installations for which the new binary is desired.