-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
52 lines (48 loc) · 1.23 KB
/
.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
45
46
47
48
49
50
51
52
before:
hooks:
- go mod tidy
- ginkgo -r
builds:
- env:
- CGO_ENABLED=0
ldflags: -s -w -X main.version=v{{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
-
goos: linux
goarch: amd64
# Name of the built binary that should be used.
# binary: goyaad
# Templates of the Docker image names.
image_templates:
- "urjitbhatia/goyaad:latest"
- "urjitbhatia/goyaad:v{{ .Major }}"
- "urjitbhatia/goyaad:{{ .Tag }}"
# Skips the docker push. Could be useful if you also do draft releases.
# Defaults to false.
skip_push: false
# Path to the Dockerfile (from the project root).
dockerfile: docker/goreleaser/Dockerfile
# Template of the docker build flags.
build_flag_templates:
- "--label=version={{.Version}}"
- "--build-arg=GOYAAD_VERSION={{.Version}}"
# If Dockerfile copies files other than the binary itself,
# you should list them here as well.
# extra_files:
# - config.yml