Skip to content

Commit

Permalink
Add remic release
Browse files Browse the repository at this point in the history
  • Loading branch information
masahiro331 committed May 10, 2019
1 parent f2954a7 commit 0452267
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,28 @@ project_name: trivy
builds:
- main: cmd/trivy/main.go
binary: trivy
ldflags:
ldflags:
- -s -w
- "-extldflags '-static'"
- -X main.version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
- freebsd
- openbsd
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 7
- main: cmd/remic/main.go
binary: remic
ldflags:
- -s -w
- "-extldflags '-static'"
- -X main.version={{.Version}}
Expand Down

0 comments on commit 0452267

Please sign in to comment.