Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross compile for brew using go releaser #117

Open
maidul98 opened this issue Dec 25, 2022 · 1 comment
Open

Cross compile for brew using go releaser #117

maidul98 opened this issue Dec 25, 2022 · 1 comment

Comments

@maidul98
Copy link

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
Copy link

ka2n commented May 18, 2023

https://github.com/goreleaser/goreleaser-cross-example

is a complete example that uses Docker images and does cross-compilation on GitHub Actions 😄 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants