Skip to content

Commit

Permalink
Fix ldflags argument for goreleaser (#663)
Browse files Browse the repository at this point in the history
Signed-off-by: Jirka Kremser <[email protected]>
  • Loading branch information
jkremser committed Oct 19, 2021
1 parent 294938e commit 6cffefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{ .Tag }} main.commit={{ .Commit }}
- -s -w -X main.version={{ .Tag }} -X main.commit={{ .Commit }}
dockers:
- image_templates:
- "absaoss/k8gb:{{ .Tag }}-amd64"
Expand Down

0 comments on commit 6cffefd

Please sign in to comment.