Skip to content

Commit

Permalink
Playing around with goreleaser options
Browse files Browse the repository at this point in the history
  • Loading branch information
aerostitch committed Oct 30, 2018
1 parent 1b65d40 commit 3f9aa08
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: awsRetagger
before:
hooks:
- make go-dep
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
archive:
replacements:
darwin: Darwin
Expand All @@ -23,3 +29,17 @@ changelog:
exclude:
- '^docs:'
- '^test:'
dockers:
-
# GOOS of the built binary that should be used.
goos: linux
# GOARCH of the built binary that should be used.
goarch: amd64
image_templates:
- "vevo/{{.ProjectName}}:latest"
- "vevo/{{.ProjectName}}:{{ .Tag }}"
skip_push: false
# Path to the Dockerfile (from the project root).
dockerfile: Dockerfile
extra_files:
- /etc/ssl/certs/ca-certificates.crt

0 comments on commit 3f9aa08

Please sign in to comment.