diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fed4394..d02c840d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +### Bugfix +- Compile the integration statically + ## v3.4.0 - 2023-03-16 ### 🛡️ Security notices diff --git a/build/.goreleaser.yml b/build/.goreleaser.yml index f0d93d90..95f346e8 100644 --- a/build/.goreleaser.yml +++ b/build/.goreleaser.yml @@ -4,6 +4,8 @@ builds: binary: nri-kafka ldflags: - -s -w -X main.integrationVersion={{.Version}} -X main.gitCommit={{.Commit}} -X main.buildDate={{.Date}} + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -21,6 +23,8 @@ builds: binary: nri-kafka ldflags: - -s -w -X main.integrationVersion={{.Version}} -X main.gitCommit={{.Commit}} -X main.buildDate={{.Date}} + env: + - CGO_ENABLED=0 goos: - windows goarch: