Skip to content

Commit

Permalink
Suggestions from goreleaser/goreleaser#960
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Hendry committed Feb 12, 2019
1 parent be54329 commit 1974952
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
build:
main: ./web/main.go
ldflags:
- -s -w -X "invite.version={{.Version}}" -X "invite.commit={{.Commit}}" -X "invite.date={{.Date}}"
env:
- CGO_ENABLED=0

dockers:
- image_templates:
- uneet/invite
build_flag_templates:
- "--label=org.label-schema.version={{.Version}}"

0 comments on commit 1974952

Please sign in to comment.