-
Notifications
You must be signed in to change notification settings - Fork 10
/
.goreleaser.yaml
60 lines (57 loc) · 1.38 KB
/
.goreleaser.yaml
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
version: 2
project_name: redpanda-operator
builds:
- id: redpanda-operator
dir: ./operator/
main: ./cmd/main.go
binary: redpanda-operator-{{ .Os }}-{{ .Arch }}
no_unique_dist_dir: true
env:
- CGO_ENABLED=0
- GOPRIVATE=github.com/redpanda-data/flux-controller-shim
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- -X "github.com/redpanda-data/redpanda-operator/operator/cmd/version.version={{.Version}}"
- -X "github.com/redpanda-data/redpanda-operator/operator/cmd/version.commit={{.Commit}}"
- -X "github.com/redpanda-data/redpanda-operator/operator/cmd/version.buildDate={{.Date}}"
- id: manager-alias
dir: ./alias
main: ./main.go
binary: manager-{{ .Os }}-{{ .Arch }}
no_unique_dist_dir: true
env:
- CGO_ENABLED=0
ldflags:
- -X "main.AliasTo=/redpanda-operator run"
goos:
- linux
goarch:
- amd64
- arm64
- id: confiurator-alias
dir: ./alias
main: ./main.go
binary: configurator-{{ .Os }}-{{ .Arch }}
no_unique_dist_dir: true
env:
- CGO_ENABLED=0
ldflags:
- -X "main.AliasTo=/redpanda-operator configure"
goos:
- linux
goarch:
- amd64
- arm64
release:
github:
owner: redpanda-data
name: redpanda-operator
draft: true
discussion_category_name: Releases
announce:
skip: "true"