upsidr / merge-gatekeeper

Get better merge control
MIT License
92 stars 15 forks source link

Provide build binaries with the GitHub release to side-step needing Docker (+ build)? #75

Open odinho opened 5 months ago

odinho commented 5 months ago

My self-hosted runners are running inside of Docker itself. I have not made them allowed to use docker, therefore I sadly cannot use this project as-is.

Previously I've made several other run by just pulling the actual pre-built binary and caching it, and running it directly. Since this is a Go project, it should be possible to create a self-contained binary. If added as a release artifact to every release, the action could in fact just download the binary from that release thus not needing Docker at all. It would also get much faster cold-start time as the binary would only need to be downloaded to start.

That way you wouldn't need to rewrite the project in JavaScript either as I've seen mentioned around the issues ;)