-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy path.goreleaser.yml
More file actions
58 lines (50 loc) · 1016 Bytes
/
.goreleaser.yml
File metadata and controls
58 lines (50 loc) · 1016 Bytes
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
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
release:
mode: keep-existing
draft: false
prerelease: auto
archives:
- id: gateway
sboms:
- artifacts: archive
documents:
- "${artifact}.spdx.json"
signs:
- cmd: cosign
artifacts: checksum
output: true
signature: "${artifact}.sig.bundle"
args:
- sign-blob
- "--bundle=${signature}"
- "${artifact}"
- "--yes"
milestones:
- close: true
snapshot:
version_template: "edge"