Add Goreleaser
Closed this issue · 1 comments
edoardottt commented
In resource-constrained environments we sometimes cannot afford to install full-blown Go + build packages with it: good practice is to have pre-packaged binary releases for each platform.
You can include this in a GitHub action workflow, by leveraging something like the https://github.com/marketplace/actions/go-release-binaries action which automates the process.
For reference:
- https://github.com/marketplace/actions/goreleaser-action
- https://github.com/edoardottt/cariddi/blob/main/.goreleaser.yaml
- https://github.com/edoardottt/cariddi/blob/main/.github/release.yml
- https://github.com/edoardottt/cariddi/blob/main/.github/workflows/release-binary.yml
- https://github.com/edoardottt/cariddi/blob/main/.github/workflows/release-test.yml
edoardottt commented
Done