-
Notifications
You must be signed in to change notification settings - Fork 191
/
.goreleaser.yml
124 lines (120 loc) · 3.15 KB
/
.goreleaser.yml
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
113
114
115
116
117
118
119
120
121
122
123
124
version: 2
project_name: helm-docs
before:
hooks:
- go mod download
- go test ./...
builds:
- main: ./cmd/helm-docs
env:
- CGO_ENABLED=0
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
goos:
- darwin
- linux
- windows
archives:
- id: default
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "arm" }}{{ .Arch }}{{ .Arm }}
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: checksums.txt
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
signs:
- artifacts: checksum
args: [ '{{ if index .Env "GPG_FINGERPRINT" }}-u {{ .Env.GPG_FINGERPRINT }}{{ else }}-s{{ end }}', "--output", "${signature}","--detach-sign", "${artifact}"]
nfpms:
- vendor: helm-docs
homepage: https://github.com/norwoodj/helm-docs
maintainer: norwoodj
description: A tool for automatically generating markdown documentation for helm charts
license: GPL-3.0-or-later
formats:
- deb
- rpm
file_name_template: >-
{{ .ProjectName }}_
{{- .Version}}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "arm" }}{{ .Arch }}{{ .Arm }}
{{- else }}{{ .Arch }}{{ end }}
brews:
- repository:
owner: norwoodj
name: homebrew
directory: Formula
homepage: https://github.com/norwoodj/helm-docs
description: Automatically generate markdown documentation for helm charts
install: |
bin.install "helm-docs"
test: |
system "#{bin}/helm-docs --version"
dockers:
- goos: linux
goarch: amd64
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- --platform=linux/amd64
image_templates:
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-amd64
- goos: linux
goarch: arm64
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- --platform=linux/arm64
image_templates:
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-arm64
- goos: linux
goarch: arm
goarm: 6
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- --platform=linux/arm/v6
image_templates:
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-arm64v6
- goos: linux
goarch: arm
goarm: 7
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- --platform=linux/arm/v7
image_templates:
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-arm64v7
docker_manifests:
- name_template: jnorwood/{{ .ProjectName }}:{{ .Tag }}
image_templates:
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-amd64
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-arm64
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-arm64v6
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-arm64v7
- name_template: jnorwood/{{ .ProjectName }}:latest
image_templates:
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-amd64
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-arm64
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-arm64v6
- jnorwood/{{ .ProjectName }}:{{ .Tag }}-arm64v7