Cross compile for brew using go releaser
maidul98 opened this issue · 1 comments
maidul98 commented
If you are like me and use go releaser and have started using this package, you will notice that keychain doesn't appear on macOs. This is because the keychain is disabled in this package if CGO is not enabled. However, it didn't seem trivial to set up go releaser with CGO enabled until i found this https://github.com/plentico/osxcross-target
So if you are using go releaser with gitub action, use that. It worked flawlessly for me
ka2n commented
https://github.com/goreleaser/goreleaser-cross-example
is a complete example that uses Docker images and does cross-compilation on GitHub Actions 😄 .