Skip to content

Commit

Permalink
Cleanup goreleaser
Browse files Browse the repository at this point in the history
Drop support for windows and mac since we can't really test those
  • Loading branch information
Hagai Barel committed Jun 2, 2019
1 parent d43830b commit 0b9dec0
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,26 @@ builds:
- main: cmd/orca.go
binary: orca
goos:
- windows
- darwin
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.GitTag={{.Tag}} -X main.GitCommit={{.ShortCommit}}
archive:
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}"
format: tar.gz
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
replacements:
darwin: macos

archives:
-
id: orca
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}"
format: tar.gz
wrap_in_directory: true

dockers:
-
binaries:
- orca
dockerfile: Dockerfile
image_templates:
- "nuvo/{{.ProjectName}}:{{ .Tag }}"
- "nuvo/{{.ProjectName}}:latest"
-
binaries:
- orca
dockerfile: Dockerfile
image_templates:
- "nuvo/{{.ProjectName}}:{{ .Tag }}"
- "nuvo/{{.ProjectName}}:latest"

0 comments on commit 0b9dec0

Please sign in to comment.