Skip to content

Commit

Permalink
Optimize the binaries (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
  • Loading branch information
jpkrohling authored Oct 30, 2020
1 parent 65058ee commit 5516009
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ builds:
dir: _build
flags:
- -trimpath
ldflags:
- -s -w
env:
- CGO_ENABLED=0
goos:
Expand All @@ -17,6 +19,9 @@ builds:
goarm:
- 6
- 7
hooks:
post:
- upx "{{ .Path }}"
dockers:
- image_templates:
- "quay.io/observatorium/opentelemetry-collector:{{ .Tag }}"
Expand Down

0 comments on commit 5516009

Please sign in to comment.