-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.goreleaser.yaml
48 lines (48 loc) · 1.1 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
builds:
- id: operator
binary: decco-operator
main: ./cmd/operator
env:
- CGO_ENABLED=0
- GO111MODULE=on
- id: springboard
binary: springboard
main: ./cmd/springboard
env:
- CGO_ENABLED=0
- GO111MODULE=on
archives:
# Use values used by `uname` (OS) and `uname -m` (architecture).
- id: default
name_template: >-
{{- .decco }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
builds:
- operator
- springboard
files:
checksum:
name_template: 'checksums.txt'
algorithm: sha256
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT-{{.Commit}}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
dockers:
- dockerfile: ./support/operator/Dockerfile
goos: linux
goarch: amd64
ids:
- decco-operator
image_templates:
- "docker.io/platform9/decco-operator:latest"
- "docker.io/platform9/decco-operator:{{ .Tag }}"
# TODO(erwin) add springboard docker