Setup automated builds
With Gitlab-CI features.
Alpine images are the smallest but use musl, so the compiled binary shouldn't run on mainstream distros.
Using a debian image should produce binaries that run on most distros, but unfortunately not on NixOS, and vice-versa using the nix image will produce binaries that won't run on other distros (because of the location of the libraries).