-
Notifications
You must be signed in to change notification settings - Fork 129
/
.goreleaser.yml
50 lines (50 loc) · 1.08 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
project_name: sloop
builds:
- id: sloop
main: ./pkg/sloop/main.go
binary: sloop
ldflags:
- -s -installsuffix=cgo
goos:
- linux
- darwin
- windows
goarch:
- amd64
archives:
- id: sloop
builds:
- sloop
files:
- ./pkg/sloop/webserver/webfiles/**/*
dockers:
- goos: linux
goarch: amd64
ids:
- sloop
extra_files:
- pkg/sloop/webserver/webfiles
image_templates:
- "salesforce/sloop:latest"
- "salesforce/sloop:{{ .Tag }}"
dockerfile: Dockerfile
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: desc
filters:
exclude:
- typo
- fix
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch