Repository navigation
Expand file tree
/
Copy path.goreleaser.yml
More file actions
125 lines (125 loc) · 2.52 KB
/
Copy path.goreleaser.yml
File metadata and controls
125 lines (125 loc) · 2.52 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: 2
builds:
- id: otfd
ldflags:
- -s -w
- -X github.com/leg100/otf/internal.Version={{.Version}}
- -X github.com/leg100/otf/internal.Commit={{.Commit}}
- -X github.com/leg100/otf/internal.Built={{.Date}}
main: ./cmd/otfd
binary: otfd
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
- id: otf-agent
ldflags:
- -s -w
- -X github.com/leg100/otf/internal.Version={{.Version}}
- -X github.com/leg100/otf/internal.Commit={{.Commit}}
- -X github.com/leg100/otf/internal.Built={{.Date}}
main: ./cmd/otf-agent
binary: otf-agent
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
- id: otf-job
ldflags:
- -s -w
- -X github.com/leg100/otf/internal.Version={{.Version}}
- -X github.com/leg100/otf/internal.Commit={{.Commit}}
- -X github.com/leg100/otf/internal.Built={{.Date}}
main: ./cmd/otf-job
binary: otf-job
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
- arm64
- id: otf
ldflags:
- -s -w
- -X github.com/leg100/otf/internal.Version={{.Version}}
- -X github.com/leg100/otf/internal.Commit={{.Commit}}
- -X github.com/leg100/otf/internal.Built={{.Date}}
main: ./cmd/otf
binary: otf
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
- arm64
archives:
- id: otfd
ids: [otfd]
formats: [zip]
name_template: "otfd_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: otf-agent
ids: [otf-agent]
formats: [zip]
name_template: "otf-agent_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: otf-job
ids: [otf-job]
formats: [zip]
name_template: "otf-job_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: otf
ids: [otf]
formats: [zip]
name_template: "otf_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
dockers_v2:
- id: otfd
ids: [otfd]
images:
- leg100/otfd
tags:
- "latest"
- "edge"
- "{{ .Version }}"
platforms:
- linux/amd64
- linux/arm64
flags: ["--target", "otfd"]
sbom: false
- id: otf-agent
ids: [otf-agent]
images:
- leg100/otf-agent
tags:
- "latest"
- "edge"
- "{{ .Version }}"
platforms:
- linux/amd64
- linux/arm64
flags: ["--target", "otf-agent"]
sbom: false
- id: otf-job
ids: [otf-job]
images:
- leg100/otf-job
tags:
- "latest"
- "edge"
- "{{ .Version }}"
platforms:
- linux/amd64
- linux/arm64
flags: ["--target", "otf-job"]
sbom: false
checksum:
name_template: 'checksums.txt'
changelog:
disable: true