-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
93 lines (85 loc) · 2.45 KB
/
.goreleaser.yaml
File metadata and controls
93 lines (85 loc) · 2.45 KB
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
version: 2
project_name: coder-k8s
before:
hooks:
- go mod tidy
- go mod vendor
builds:
- id: coder-k8s
main: ./
binary: coder-k8s
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- arm64
archives:
- id: default
formats: [tar.gz]
files:
- LICENSE
- README.md
release:
disable: '{{ eq .Env.GORELEASER_CHANNEL "main" }}'
dockers_v2:
- id: coder-k8s-image-main
disable: '{{ ne .Env.GORELEASER_CHANNEL "main" }}'
dockerfile: Dockerfile.goreleaser
ids:
- coder-k8s
images:
- ghcr.io/coder/coder-k8s
tags:
- main
platforms:
- linux/amd64
- linux/arm64
sbom: true
labels:
org.opencontainers.image.created: "{{ .Date }}"
org.opencontainers.image.source: https://github.com/coder/coder-k8s
org.opencontainers.image.url: https://coder.github.io/coder-k8s/
org.opencontainers.image.documentation: https://coder.github.io/coder-k8s/
org.opencontainers.image.title: coder-k8s
org.opencontainers.image.description: Kubernetes operator for Coder
org.opencontainers.image.version: main
org.opencontainers.image.revision: "{{ .FullCommit }}"
org.opencontainers.image.vendor: Coder
org.opencontainers.image.licenses: Apache-2.0
org.opencontainers.image.authors: Coder
flags:
- "--pull=true"
- "--provenance=false"
- id: coder-k8s-image-release
disable: '{{ eq .Env.GORELEASER_CHANNEL "main" }}'
dockerfile: Dockerfile.goreleaser
ids:
- coder-k8s
images:
- ghcr.io/coder/coder-k8s
tags:
- "{{ .Version }}"
- latest
platforms:
- linux/amd64
- linux/arm64
sbom: true
labels:
org.opencontainers.image.created: "{{ .Date }}"
org.opencontainers.image.source: https://github.com/coder/coder-k8s
org.opencontainers.image.url: https://coder.github.io/coder-k8s/
org.opencontainers.image.documentation: https://coder.github.io/coder-k8s/
org.opencontainers.image.title: coder-k8s
org.opencontainers.image.description: Kubernetes operator for Coder
org.opencontainers.image.version: "{{ .Version }}"
org.opencontainers.image.revision: "{{ .FullCommit }}"
org.opencontainers.image.vendor: Coder
org.opencontainers.image.licenses: Apache-2.0
org.opencontainers.image.authors: Coder
flags:
- "--pull=true"
- "--provenance=false"
changelog:
use: github