-
Notifications
You must be signed in to change notification settings - Fork 29
/
goreleaser.yaml
112 lines (106 loc) · 3.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
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
---
version: 2
builds:
- id: "spicedb-operator"
main: "./cmd/spicedb-operator"
env:
- "CGO_ENABLED=0"
goos:
- "linux"
- "windows"
- "darwin"
goarch:
- "amd64"
- "arm64"
mod_timestamp: "{{ .CommitTimestamp }}"
ldflags:
- "-s -w"
- "-X github.com/jzelinskie/cobrautil.Version={{ .Version }}"
kos:
- id: "spicedb-operator-ghcr"
build: "spicedb-operator"
bare: true
repository: "ghcr.io/authzed/spicedb-operator"
preserve_import_paths: false
platforms:
- "linux/amd64"
- "linux/arm64"
tags:
- "latest"
- "v{{ .Version }}"
creation_time: '{{.CommitTimestamp}}'
ko_data_creation_time: '{{.CommitTimestamp}}'
sbom: "spdx"
ldflags:
- "-s -w"
- "-X github.com/jzelinskie/cobrautil.Version={{ .Version }}"
- id: "spicedb-operator-quay"
build: "spicedb-operator"
bare: true
base_image: "cgr.dev/chainguard/static"
repository: "quay.io/authzed/spicedb-operator"
platforms:
- "linux/amd64"
- "linux/arm64"
tags:
- "latest"
- "v{{ .Version }}"
creation_time: '{{.CommitTimestamp}}'
ko_data_creation_time: '{{.CommitTimestamp}}'
sbom: "spdx"
ldflags:
- "-s -w"
- "-X github.com/jzelinskie/cobrautil.Version={{ .Version }}"
- id: "spicedb-operator-dockerhub"
build: "spicedb-operator"
bare: true
base_image: "cgr.dev/chainguard/static"
repository: "authzed/spicedb-operator"
platforms:
- "linux/amd64"
- "linux/arm64"
tags:
- "latest"
- "v{{ .Version }}"
creation_time: '{{.CommitTimestamp}}'
ko_data_creation_time: '{{.CommitTimestamp}}'
sbom: "spdx"
ldflags:
- "-s -w"
- "-X github.com/jzelinskie/cobrautil.Version={{ .Version }}"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
use: "github-native"
sort: "asc"
release:
prerelease: "auto"
extra_files:
- glob: "release/bundle.yaml"
footer: |
## Install with `kubectl`
```yaml
kubectl apply --server-side -f https://github.com/authzed/spicedb-operator/releases/download/v{{ .Version }}/bundle.yaml
```
## Include or modify this release in your own `kustomize` bundle
```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/authzed/spicedb-operator/config?ref=v{{ .Version }}
images:
- name: ghcr.io/authzed/spicedb-operator
newTag: v{{ .Version }}
```
## Install with `kustomizer`
Release manifests can be found at `oci://ghcr.io/authzed/spicedb-operator-manifests:v{{ .Version }}` and can be installed or inspected with [kustomizer](https://kustomizer.dev/):
```sh
kustomizer apply inventory spicedb-operator --artifact oci://ghcr.io/authzed/spicedb-operator-manifests:v{{ .Version }}
```
## Docker Images
This release's image is available at:
- `authzed/spicedb-operator:v{{ .Version }}`
- `quay.io/authzed/spicedb-operator:v{{ .Version }}`
- `ghcr.io/authzed/spicedb-operator:v{{ .Version }}`