Skip to content

Commit db5d194

Browse files
remove handler from build
1 parent 2b008d6 commit db5d194

File tree

1 file changed

+1
-54
lines changed

1 file changed

+1
-54
lines changed

.goreleaser.yml

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,8 @@
11
version: 2
22

3-
project_name: handler
4-
5-
archives:
6-
- id: handler
7-
formats: ["binary"]
3+
project_name: agent-kilt
84

95
builds:
10-
- id: handler
11-
no_unique_dist_dir: true
12-
binary: handler/handler-{{ .Os }}-{{ .Arch }}
13-
main: ./cmd/handler
14-
goos:
15-
- linux
16-
goarch:
17-
- amd64
18-
- arm64
19-
goamd64:
20-
- v1
21-
mod_timestamp: "{{ .CommitTimestamp }}"
22-
env:
23-
- CGO_ENABLED=0
24-
ldflags:
25-
- -s -w
26-
- -X main.version={{ .Version }}
27-
- -X main.commit={{ .Commit }}
28-
- -X main.date={{ .Date }}
29-
30-
- id: handler-fips
31-
no_unique_dist_dir: true
32-
binary: handler/handler-fips-{{ .Os }}-{{ .Arch }}
33-
main: ./cmd/handler
34-
goos:
35-
- linux
36-
goarch:
37-
- amd64
38-
- arm64
39-
goamd64:
40-
- v1
41-
mod_timestamp: "{{ .CommitTimestamp }}"
42-
tags:
43-
- fips
44-
env:
45-
- GOEXPERIMENT=boringcrypto
46-
- CGO_ENABLED=1
47-
- >-
48-
{{- if and (eq .Os "linux") (eq .Arch "amd64") }}CC=zig c++ -target x86_64-linux-gnu{{- end }}
49-
{{- if and (eq .Os "linux") (eq .Arch "arm64") }}CC=zig c++ -target aarch64-linux-gnu{{- end }}
50-
- >-
51-
{{- if and (eq .Os "linux") (eq .Arch "amd64") }}CXX=zig c++ -target x86_64-linux-gnu{{- end }}
52-
{{- if and (eq .Os "linux") (eq .Arch "arm64") }}CXX=zig c++ -target aarch64-linux-gnu{{- end }}
53-
ldflags:
54-
- -s -w
55-
- -X main.version={{ .Version }}
56-
- -X main.commit={{ .Commit }}
57-
- -X main.date={{ .Date }}
58-
596
- id: image-info
607
no_unique_dist_dir: true
618
binary: image-info/image-info-{{ .Os }}-{{ .Arch }}

0 commit comments

Comments
 (0)