-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
45 lines (43 loc) · 933 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Build customization
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
- env:
- CGO_LDFLAGS_ALLOW=".*"
- GOOS=linux
binary: qed
# Custom ldflags templates.
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`.
ldflags:
- -s -w -X github.com/bbva/qed/build.tag={{.Tag}} -X github.com/bbva/qed/build.rev={{.FullCommit}} -X github.com/bbva/qed/build.utcTime={{.Date}}
goos:
- linux
- darwin
goarch:
- amd64
archive:
wrap_in_directory: true
files:
- README.md
- LICENSE
release:
github:
owner: bbva
name: qed
changelog:
skip: true
dockers:
-
goos: linux
goarch: amd64
goarm: ''
binaries:
- qed
image_templates:
- "bbvalabs/qed:latest"
- "bbvalabs/qed:{{ .Tag }}"
skip_push: auto
dockerfile: Dockerfile