-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
37 lines (37 loc) · 948 Bytes
/
.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
---
version: 2
project_name: registry-tool
archives:
- name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"
builds:
- binary: aqua-registry
main: cmd/aqua-registry/main.go
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm64
release:
prerelease: true
header: |
[Pull Requests](https://github.com/aquaproj/registry-tool/pulls?q=is%3Apr+milestone%3A{{.Tag}}) | [Issues](https://github.com/aquaproj/registry-tool/issues?q=is%3Aissue+milestone%3A{{.Tag}}) | https://github.com/aquaproj/registry-tool/compare/{{.PreviousTag}}...{{.Tag}}
signs:
- cmd: cosign
artifacts: checksum
signature: ${artifact}.sig
certificate: ${artifact}.pem
output: true
args:
- sign-blob
- "-y"
- --output-signature
- ${signature}
- --output-certificate
- ${certificate}
- --oidc-provider
- github
- ${artifact}