New ๐ŸŒŠ wave for @helm

Commit e5044162

e50441625152Merged

Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 2 files ยท ~2 modified

Description

feat: refactor

Signed-off-by: Dmitriy Zhilyaev [email protected]

Details

Commit
e50441625152
Parent
a177b11dc9b0

.goreleaser.ymlmodifiedView file

@@ -10,6 +10,7 @@
1010
1111 builds:
1212 - &bin
13+ id: "helmwave"
1314 env:
1415 - CGO_ENABLED=0
1516 goarch:
@@ -31,8 +32,10 @@
3132 - -s -w -X github.com/helmwave/helmwave/pkg/version.Version={{ .Version }}
3233 - <<: *bin
3334 main: ./cmd/schema
35+ id: "schema"
3436 - <<: *bin
3537 main: ./cmd/gitops
38+ id: "gitops"
3639
3740 ###
3841 # Packages
@@ -57,6 +60,7 @@
5760 name_template: "checksums.txt"
5861
5962 dockers:
63+ # helmwave
6064 - dockerfile: Dockerfile
6165 image_templates:
6266 - ghcr.io/helmwave/helmwave:{{ .Version }}-scratch-amd64
@@ -64,7 +68,7 @@
6468 - diamon/helmwave:{{ .Version }}-scratch-amd64
6569 - diamon/helmwave:scratch-amd64
6670 build_flag_templates:
67- - "--label=org.opencontainers.image.description=Helmwave is tool for "
71+ - "--label=org.opencontainers.image.description=Helmwave is true release management for helm"
6872 - "--label=org.opencontainers.image.created={{ .Date }}"
6973 - "--label=org.opencontainers.image.title={{ .ProjectName }}"
7074 - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
@@ -72,7 +76,7 @@
7276 - "--label=org.opencontainers.image.licenses=MIT"
7377 - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
7478 - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/helmwave"
75- - "--label=org.opencontainers.image.documentation=https://helmwave.github.io/docs/"
79+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
7680
7781 - "--platform=linux/amd64"
7882 - "--target=scratch-goreleaser"
@@ -96,7 +100,7 @@
96100 - "--label=org.opencontainers.image.licenses=MIT"
97101 - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
98102 - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/helmwave"
99- - "--label=org.opencontainers.image.documentation=https://helmwave.github.io/docs/"
103+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
100104
101105 - "--platform=linux/arm64/v8"
102106 - "--target=scratch-goreleaser"
@@ -119,7 +123,7 @@
119123 - "--label=org.opencontainers.image.licenses=MIT"
120124 - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
121125 - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/helmwave"
122- - "--label=org.opencontainers.image.documentation=https://helmwave.github.io/docs/"
126+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
123127
124128 - "--platform=linux/amd64"
125129 - "--target=goreleaser"
@@ -143,17 +147,201 @@
143147 - "--label=org.opencontainers.image.licenses=MIT"
144148 - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
145149 - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/helmwave"
146- - "--label=org.opencontainers.image.documentation=https://helmwave.github.io/docs/"
150+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
151+
152+ - "--platform=linux/arm64/v8"
153+ - "--target=goreleaser"
154+ - "--pull"
155+ goos: linux
156+ goarch: arm64
157+ use: buildx
158+
159+ # schema
160+ - dockerfile: Dockerfile
161+ image_templates:
162+ - ghcr.io/helmwave/schema:{{ .Version }}-scratch-amd64
163+ - ghcr.io/helmwave/schema:scratch-amd64
164+ build_flag_templates:
165+ - "--label=org.opencontainers.image.description=Schema generator for helmwave"
166+ - "--label=org.opencontainers.image.created={{ .Date }}"
167+ - "--label=org.opencontainers.image.title=schema"
168+ - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
169+ - "--label=org.opencontainers.image.version={{ .Version }}"
170+ - "--label=org.opencontainers.image.licenses=MIT"
171+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
172+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/schema"
173+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
174+
175+ - "--platform=linux/amd64"
176+ - "--target=scratch-goreleaser"
177+ - "--pull"
178+ - "--build-arg=PROJECT=schema"
179+ goos: linux
180+ goarch: amd64
181+ goamd64: v1
182+ use: buildx
183+ - dockerfile: Dockerfile
184+ image_templates:
185+ - ghcr.io/helmwave/schema:{{ .Version }}-scratch-arm64v8
186+ - ghcr.io/helmwave/schema:scratch-arm64v8
187+ build_flag_templates:
188+ - "--label=org.opencontainers.image.description=Schema generator for helmwave"
189+ - "--label=org.opencontainers.image.created={{ .Date }}"
190+ - "--label=org.opencontainers.image.title=schema"
191+ - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
192+ - "--label=org.opencontainers.image.version={{ .Version }}"
193+ - "--label=org.opencontainers.image.licenses=MIT"
194+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
195+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/schema"
196+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
197+
198+ - "--platform=linux/arm64/v8"
199+ - "--target=scratch-goreleaser"
200+ - "--pull"
201+ - "--build-arg=PROJECT=schema"
202+ goos: linux
203+ goarch: arm64
204+ use: buildx
205+ - dockerfile: Dockerfile
206+ image_templates:
207+ - ghcr.io/helmwave/schema:{{ .Version }}-amd64
208+ - ghcr.io/helmwave/schema:latest-amd64
209+ build_flag_templates:
210+ - "--label=org.opencontainers.image.description=Schema generator for helmwave"
211+ - "--label=org.opencontainers.image.created={{ .Date }}"
212+ - "--label=org.opencontainers.image.title=schema"
213+ - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
214+ - "--label=org.opencontainers.image.version={{ .Version }}"
215+ - "--label=org.opencontainers.image.licenses=MIT"
216+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
217+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/schema"
218+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
219+
220+ - "--platform=linux/amd64"
221+ - "--target=goreleaser"
222+ - "--pull"
223+ - "--build-arg=PROJECT=schema"
224+ goos: linux
225+ goarch: amd64
226+ goamd64: v1
227+ use: buildx
228+ - dockerfile: Dockerfile
229+ image_templates:
230+ - ghcr.io/helmwave/schema:{{ .Version }}-arm64v8
231+ - ghcr.io/helmwave/schema:latest-arm64v8
232+ build_flag_templates:
233+ - "--label=org.opencontainers.image.description=Schema generator for helmwave"
234+ - "--label=org.opencontainers.image.created={{ .Date }}"
235+ - "--label=org.opencontainers.image.title=schema"
236+ - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
237+ - "--label=org.opencontainers.image.version={{ .Version }}"
238+ - "--label=org.opencontainers.image.licenses=MIT"
239+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
240+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/schema"
241+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
242+
243+ - "--platform=linux/arm64/v8"
244+ - "--target=goreleaser"
245+ - "--pull"
246+ - "--build-arg=PROJECT=schema"
247+ goos: linux
248+ goarch: arm64
249+ use: buildx
250+
251+ # gitops
252+ - dockerfile: Dockerfile
253+ image_templates:
254+ - ghcr.io/helmwave/gitops:{{ .Version }}-scratch-amd64
255+ - ghcr.io/helmwave/gitops:scratch-amd64
256+ build_flag_templates:
257+ - "--label=org.opencontainers.image.description=GitOps plugin for helmwave"
258+ - "--label=org.opencontainers.image.created={{ .Date }}"
259+ - "--label=org.opencontainers.image.title=gitops"
260+ - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
261+ - "--label=org.opencontainers.image.version={{ .Version }}"
262+ - "--label=org.opencontainers.image.licenses=MIT"
263+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
264+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/gitops"
265+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
266+
267+ - "--platform=linux/amd64"
268+ - "--target=scratch-goreleaser"
269+ - "--pull"
270+ - "--build-arg=PROJECT=gitops"
271+ goos: linux
272+ goarch: amd64
273+ goamd64: v1
274+ use: buildx
275+ - dockerfile: Dockerfile
276+ image_templates:
277+ - ghcr.io/helmwave/gitops:{{ .Version }}-scratch-arm64v8
278+ - ghcr.io/helmwave/gitops:scratch-arm64v8
279+ build_flag_templates:
280+ - "--label=org.opencontainers.image.description=GitOps plugin for helmwave"
281+ - "--label=org.opencontainers.image.created={{ .Date }}"
282+ - "--label=org.opencontainers.image.title=gitops"
283+ - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
284+ - "--label=org.opencontainers.image.version={{ .Version }}"
285+ - "--label=org.opencontainers.image.licenses=MIT"
286+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
287+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/gitops"
288+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
289+
290+ - "--platform=linux/arm64/v8"
291+ - "--target=scratch-goreleaser"
292+ - "--pull"
293+ - "--build-arg=PROJECT=gitops"
294+ goos: linux
295+ goarch: arm64
296+ use: buildx
297+ - dockerfile: Dockerfile
298+ image_templates:
299+ - ghcr.io/helmwave/gitops:{{ .Version }}-amd64
300+ - ghcr.io/helmwave/gitops:latest-amd64
301+ build_flag_templates:
302+ - "--label=org.opencontainers.image.description=GitOps plugin for helmwave"
303+ - "--label=org.opencontainers.image.created={{ .Date }}"
304+ - "--label=org.opencontainers.image.title=gitops"
305+ - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
306+ - "--label=org.opencontainers.image.version={{ .Version }}"
307+ - "--label=org.opencontainers.image.licenses=MIT"
308+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
309+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/gitops"
310+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
311+
312+ - "--platform=linux/amd64"
313+ - "--target=goreleaser"
314+ - "--pull"
315+ - "--build-arg=PROJECT=gitops"
316+ goos: linux
317+ goarch: amd64
318+ goamd64: v1
319+ use: buildx
320+ - dockerfile: Dockerfile
321+ image_templates:
322+ - ghcr.io/helmwave/gitops:{{ .Version }}-arm64v8
323+ - ghcr.io/helmwave/gitops:latest-arm64v8
324+ build_flag_templates:
325+ - "--label=org.opencontainers.image.description=GitOps plugin for helmwave"
326+ - "--label=org.opencontainers.image.created={{ .Date }}"
327+ - "--label=org.opencontainers.image.title=gitops"
328+ - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
329+ - "--label=org.opencontainers.image.version={{ .Version }}"
330+ - "--label=org.opencontainers.image.licenses=MIT"
331+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
332+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/gitops"
333+ - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
147334
148335 - "--platform=linux/arm64/v8"
149336 - "--target=goreleaser"
150337 - "--pull"
338+ - "--build-arg=PROJECT=gitops"
151339 goos: linux
152340 goarch: arm64
153341 use: buildx
154342
155343 docker_manifests:
156- # GitHub Container Registry
344+ # helmwave: GitHub Container Registry
157345 - name_template: ghcr.io/helmwave/helmwave:{{ .Version }}-scratch
158346 image_templates:
159347 - ghcr.io/helmwave/helmwave:{{ .Version }}-scratch-amd64
@@ -171,7 +359,43 @@
171359 - ghcr.io/helmwave/helmwave:latest-amd64
172360 - ghcr.io/helmwave/helmwave:latest-arm64v8
173361
174- # DockerHub
362+ # schema: GitHub Container Registry
363+ - name_template: ghcr.io/helmwave/schema:{{ .Version }}-scratch
364+ image_templates:
365+ - ghcr.io/helmwave/schema:{{ .Version }}-scratch-amd64
366+ - ghcr.io/helmwave/schema:{{ .Version }}-scratch-arm64v8
367+ - name_template: ghcr.io/helmwave/schema:scratch
368+ image_templates:
369+ - ghcr.io/helmwave/schema:scratch-amd64
370+ - ghcr.io/helmwave/schema:scratch-arm64v8
371+ - name_template: ghcr.io/helmwave/schema:{{ .Version }}
372+ image_templates:
373+ - ghcr.io/helmwave/schema:{{ .Version }}-amd64
374+ - ghcr.io/helmwave/schema:{{ .Version }}-arm64v8
375+ - name_template: ghcr.io/helmwave/schema:latest
376+ image_templates:
377+ - ghcr.io/helmwave/schema:latest-amd64
378+ - ghcr.io/helmwave/schema:latest-arm64v8
379+
380+ # gitops: GitHub Container Registry
381+ - name_template: ghcr.io/helmwave/gitops:{{ .Version }}-scratch
382+ image_templates:
383+ - ghcr.io/helmwave/gitops:{{ .Version }}-scratch-amd64
384+ - ghcr.io/helmwave/gitops:{{ .Version }}-scratch-arm64v8
385+ - name_template: ghcr.io/helmwave/gitops:scratch
386+ image_templates:
387+ - ghcr.io/helmwave/gitops:scratch-amd64
388+ - ghcr.io/helmwave/gitops:scratch-arm64v8
389+ - name_template: ghcr.io/helmwave/gitops:{{ .Version }}
390+ image_templates:
391+ - ghcr.io/helmwave/gitops:{{ .Version }}-amd64
392+ - ghcr.io/helmwave/gitops:{{ .Version }}-arm64v8
393+ - name_template: ghcr.io/helmwave/gitops:latest
394+ image_templates:
395+ - ghcr.io/helmwave/gitops:latest-amd64
396+ - ghcr.io/helmwave/gitops:latest-arm64v8
397+
398+ # helmwave: DockerHub
175399 - name_template: diamon/helmwave:{{ .Version }}
176400 image_templates:
177401 - diamon/helmwave:{{ .Version }}-amd64
@@ -247,7 +471,7 @@
247471 enabled: false
248472 goamd64: v1
249473 homepage: https://helmwave.app
250- description: "True release manager for Kubernetes"
474+ description: "Helmwave is true release management for helm"
251475 license: "MIT"
252476 directory: Formula
253477 skip_upload: auto