forked from aquasecurity/starboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
93 lines (93 loc) · 2.98 KB
/
.goreleaser.yaml
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
83
84
85
86
87
88
89
90
91
92
93
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod download
builds:
- id: starboard
main: ./cmd/starboard/main.go
binary: starboard
goos:
- darwin
- linux
- windows
goarch:
- amd64
- id: starboard-operator
main: ./cmd/starboard-operator/main.go
binary: starboard-operator
goos:
- linux
goarch:
- amd64
- id: starboard-scanner-aqua
main: ./cmd/starboard-scanner-aqua/main.go
binary: starboard-scanner-aqua
goos:
- linux
goarch:
- amd64
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
builds:
- starboard
replacements:
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .FullCommit }}"
changelog:
sort: asc
filters:
exclude:
- '^docs'
- '^test'
- '^release'
dockers:
- dockerfile: starboard.Dockerfile
image_templates:
- "docker.io/aquasec/starboard:{{ .Version }}"
binaries:
- starboard
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.name={{ .ProjectName }}"
- "--label=org.label-schema.description=Command line interface for Starboard"
- "--label=org.label-schema.vendor=Aqua Security"
- "--label=org.label-schema.version={{ .Version }}"
- "--label=org.label-schema.build-date={{ .Date }}"
- "--label=org.label-schema.vcs=https://github.com/aquasecurity/starboard"
- "--label=org.label-schema.vcs-ref={{ .FullCommit }}"
- dockerfile: starboard-operator.Dockerfile
image_templates:
- "docker.io/aquasec/starboard-operator:{{ .Version }}"
binaries:
- starboard-operator
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.name=starboard-operator"
- "--label=org.label-schema.description=Keeps Starboard resources updated"
- "--label=org.label-schema.vendor=Aqua Security"
- "--label=org.label-schema.version={{ .Version }}"
- "--label=org.label-schema.build-date={{ .Date }}"
- "--label=org.label-schema.vcs=https://github.com/aquasecurity/starboard"
- "--label=org.label-schema.vcs-ref={{ .FullCommit }}"
- dockerfile: starboard-scanner-aqua.Dockerfile
image_templates:
- "docker.io/aquasec/starboard-scanner-aqua:{{ .Version }}"
binaries:
- starboard-scanner-aqua
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.name=starboard-scanner-aqua"
- "--label=org.label-schema.description=Aqua scanner for Starboard"
- "--label=org.label-schema.vendor=Aqua Security"
- "--label=org.label-schema.version={{ .Version }}"
- "--label=org.label-schema.build-date={{ .Date }}"
- "--label=org.label-schema.vcs=https://github.com/aquasecurity/starboard"
- "--label=org.label-schema.vcs-ref={{ .FullCommit }}"