From 3f9aa0833c066c8854b68ba364076bc82d46f604 Mon Sep 17 00:00:00 2001 From: Joseph Herlant Date: Mon, 29 Oct 2018 18:11:08 -0700 Subject: [PATCH] Playing around with goreleaser options --- .goreleaser.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index f57f40e..b211742 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 @@ -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