forked from aquasecurity/starboard-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
47 lines (47 loc) · 899 Bytes
/
.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
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod tidy
builds:
- id: operator
main: ./cmd/operator/main.go
binary: operator
goos:
- linux
goarch:
- amd64
- id: scanner
main: ./cmd/scanner/main.go
binary: scanner
goos:
- linux
goarch:
- amd64
archives:
- replacements:
linux: Linux
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .FullCommit }}"
changelog:
sort: asc
filters:
exclude:
- '^docs'
- '^test'
- '^release'
dockers:
- dockerfile: Dockerfile.operator
image_templates:
- "docker.io/aquasec/starboard-security-operator:{{ .Version }}"
binaries:
- operator
- dockerfile: Dockerfile.scanner
image_templates:
- "docker.io/aquasec/starboard-scanner-aqua:{{ .Version }}"
binaries:
- scanner