forked from nginxinc/nginx-gateway-fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
64 lines (55 loc) · 1.2 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
version: 2
env:
- CGO_ENABLED=0
builds:
- id: gateway
goos:
- linux
goarch:
- amd64
- arm64
flags:
- -trimpath
gcflags:
- all=-trimpath={{.Env.GOPATH}}
asmflags:
- all=-trimpath={{.Env.GOPATH}}
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.telemetryReportPeriod=24h
- -X main.telemetryEndpoint={{.Env.TELEMETRY_ENDPOINT}}
- -X main.telemetryEndpointInsecure={{.Env.TELEMETRY_ENDPOINT_INSECURE}}
main: ./cmd/gateway/
binary: gateway
changelog:
disable: true
archives:
- id: gateway
sboms:
- artifacts: archive
documents:
- "${artifact}.spdx.json"
blobs:
- provider: azblob
bucket: "{{.Env.AZURE_BUCKET_NAME}}"
signs:
- cmd: cosign
artifacts: checksum
output: true
certificate: "${artifact}.pem"
args:
- sign-blob
- "--output-signature=${signature}"
- "--output-certificate=${certificate}"
- "${artifact}"
- "--yes"
announce:
slack:
enabled: true
channel: "#announcements"
message_template: "NGINX Gateway Fabric {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}"
milestones:
- close: true
snapshot:
name_template: "edge"