-
Notifications
You must be signed in to change notification settings - Fork 684
/
.goreleaser.yml
69 lines (66 loc) · 1.57 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
project_name: sealed-secrets
env:
- CGO_ENABLED=0
builds:
- binary: controller
id: controller
main: ./cmd/controller
ldflags:
- -X main.VERSION={{ .Version }}
targets:
- darwin_amd64
- darwin_arm64
- linux_amd64
- linux_arm64
- linux_arm
- windows_amd64
- binary: kubeseal
id: kubeseal
main: ./cmd/kubeseal
ldflags:
- -X main.VERSION={{ .Version }}
targets:
- darwin_amd64
- darwin_arm64
- linux_amd64
- linux_arm64
- linux_arm
- windows_amd64
archives:
- builds:
- kubeseal
name_template: "kubeseal-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
checksum:
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^helm:'
- '^integration:'
- '^vendor_jsonnet:'
signs:
- cmd: cosign
stdin: '{{ .Env.COSIGN_PASSWORD }}'
output: true
artifacts: all
args:
- 'sign-blob'
- '--key=/tmp/cosign.key'
- '--output-signature=${signature}'
- '--yes'
- '${artifact}'
release:
name_template: "{{ .ProjectName }}-v{{ .Version }}"
header: |
## v{{ .Version }} ({{ .Date }})
New v{{ .Version }} release!
footer: |
## Release Notes
Please read the [RELEASE_NOTES](https://github.com/bitnami-labs/sealed-secrets/blob/main/RELEASE-NOTES.md) which contain among other things important information for who is upgrading from previous releases.
## Thanks!
extra_files:
- glob: ./controller.yaml
- glob: ./controller-norbac.yaml
- glob: ./.github/workflows/cosign.pub