We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4818355 commit 85ded16Copy full SHA for 85ded16
2 files changed
cmd/goreleaser/internal/configure.go
@@ -162,6 +162,7 @@ var (
162
"-X go.opentelemetry.io/ebpf-profiler/vc.buildTimestamp={{ .Date }}",
163
"-extldflags=-static",
164
}, " ")
165
+ d.goTags = "osusergo,netgo"
166
}).WithDefaultArchives().WithDefaultChecksum().WithDefaultSigns().WithDefaultDockerSigns().WithDefaultSBOMs().Build()
167
)
168
distributions/otelcol-ebpf-profiler/.goreleaser.yaml
@@ -4,6 +4,7 @@ env:
4
- COSIGN_YES=true
5
- LD_FLAGS=-X go.opentelemetry.io/ebpf-profiler/vc.version={{ .Version }} -X go.opentelemetry.io/ebpf-profiler/vc.revision={{ .Commit }} -X go.opentelemetry.io/ebpf-profiler/vc.buildTimestamp={{ .Date }} -extldflags=-static
6
- BUILD_FLAGS=-trimpath
7
+ - GO_TAGS=osusergo,netgo
8
release:
9
replace_existing_artifacts: true
10
builds:
0 commit comments