forked from greut/eclint
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
82 lines (81 loc) · 2.12 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
project_name: eclint
before:
hooks:
- go mod tidy
builds:
- id: eclint
binary: eclint
main: cmd/eclint/main.go
goos:
- darwin
- linux
- windows
goarch:
- amd64
env:
- CGO_ENABLED=0
archives:
- replacements:
amd64: x86_64
dockers:
- image_templates:
- greut/eclint:latest
- greut/eclint:{{ .Tag }}
- greut/eclint:v{{ .Major }}
- greut/eclint:v{{ .Major }}.{{ .Minor }}
- quay.io/greut/eclint:latest
- quay.io/greut/eclint:{{ .Tag }}
- quay.io/greut/eclint:v{{ .Major }}
- quay.io/greut/eclint:v{{ .Major }}.{{ .Minor }}
- registry.gitlab.com/greut/eclint:latest
- registry.gitlab.com/greut/eclint:{{ .Tag }}
- registry.gitlab.com/greut/eclint:v{{ .Major }}
- registry.gitlab.com/greut/eclint:v{{ .Major }}.{{ .Minor }}
- ghcr.io/greut/eclint/cmd:latest
- ghcr.io/greut/eclint/cmd:{{ .Tag }}
- ghcr.io/greut/eclint/cmd:v{{ .Major }}
- ghcr.io/greut/eclint/cmd:v{{ .Major }}.{{ .Minor }}
goos: linux
goarch: amd64
ids:
- eclint
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.source={{.GitURL}}"
- "--label=org.opencontainers.image.version={{.Version}}"
source:
enabled: true
checksum:
name_template: 'checksums.txt'
signs:
- id: default
artifacts: checksum
- id: source
artifacts: source
- id: minisign default
artifacts: checksum
signature: "${artifact}.minisig"
cmd: minisign
stdin: "\n"
args: [-x, "${signature}", -Sm, "${artifact}", -P, "RWRP3/Z4+t+iZk1QU6zufn6vSDlvd76FLWhGCkt5kE7YqW3mOtSh7FvE", -t, "{{ .ProjectName }} {{ .Tag }}"]
- id: minisign source
artifacts: source
signature: "${artifact}.minisig"
cmd: minisign
stdin: "\n"
args: [-x, "${signature}", -Sm, "${artifact}", -P, "RWRP3/Z4+t+iZk1QU6zufn6vSDlvd76FLWhGCkt5kE7YqW3mOtSh7FvE", -t, "{{ .ProjectName }} {{ .Tag }}"]
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
gitlab:
owner: greut
name: eclint