-
Notifications
You must be signed in to change notification settings - Fork 13
/
.goreleaser.yaml
70 lines (69 loc) · 1.15 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
61
62
63
64
65
66
67
68
69
version: 2
builds:
- id: "kflex"
main: ./cmd/kflex
binary: bin/kflex
ldflags:
- "{{ .Env.LDFLAGS }}"
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: darwin
goarch: ppc64le
env:
- CGO_ENABLED=0
- id: "manager"
main: ./cmd/manager
binary: bin/manager
ldflags:
- "{{ .Env.LDFLAGS }}"
goos:
- linux
goarch:
- amd64
- arm64
ignore:
- goos: darwin
goarch: ppc64le
env:
- CGO_ENABLED=0
archives:
- id: kflex
builds:
- kflex
kos:
- repository: ghcr.io/kubestellar/kubeflex/manager
main: ./cmd/manager
build: manager
tags:
- '{{.Version}}'
- latest
bare: true
preserve_import_paths: false
ldflags:
- "{{ .Env.LDFLAGS }}"
platforms:
- linux/amd64
- linux/arm64
env:
- CGO_ENABLED=0
release:
draft: false
prerelease: auto
mode: keep-existing
brews:
- name: kubeflex
homepage: "https://github.com/kubestellar/kubeflex"
repository:
owner: kubestellar
name: kubeflex
branch: brew
pull_request:
enabled: false
commit_author:
name: "{{ .Env.USER }}"
email: "{{ .Env.EMAIL }}"