GSA-TTS / cg-egress-proxy

Provides controlled egress for apps in a restricted-egress cloud.gov space
Other
12 stars 4 forks source link

Add workflow to rebuild the caddy binary nightly and submit a PR if needed #19

Closed mogul closed 1 year ago

mogul commented 1 year ago

@JeanMarie-TTS and I determined that as of Caddy v2, everything is under the Apache license and there don't appear to be any restrictions on redistribution of binaries. So we can include our custom binary in the tree now! However, we don't want it to go out of date.

This PR adds a workflow to try building the binary every day (or when manually triggered), and then make a PR if the binary differs from what was already there.

mogul commented 1 year ago

Excellent, this'll also let me simplify all of my deploy-proxy actions to remove the build step.

I'm doing this to make the Terraform module I'm making much simpler. ;)