go-bin-template
A golang template for executables
Setup
- Adjust
.env
- Adjust
.goreleaser.yml
- Adjust
.golangci.yml
Docker
Docker images will be pushed to GitHub's registry by default.
If you don't need docker remove the dockers
section in .goreleaser.yml
and the Login to Docker Registry
step in release_published.yml
.
Release Process
Every closed pull request will update (or create) a new drafted release.
If you wish to release, just edit the drafted release and publish it.
GoReleaser will build the binary and add the binaries it to the release.
Notes
Testing and building will always be done with the go version specified in the go.mod
file.
Build History