New ๐ŸŒŠ wave for @helm

Commit 934f05e5

934f05e5dfc0Merged

Svyatoslav Dumchenko <[email protected]> ยท 4 years ago ยท 1 file ยท ~1 modified

Description

feat: prepare multiarch docker manifests

Details

Commit
934f05e5dfc0
Parent
c0a3dbf6bdb5

.goreleaser.ymlmodifiedView file

@@ -50,11 +50,10 @@
5050 dockers:
5151 - dockerfile: Dockerfile
5252 image_templates:
53- - "ghcr.io/helmwave/helmwave:{{ .Version }}-scratch"
54- - "ghcr.io/helmwave/helmwave:scratch"
55-
56- - "diamon/helmwave:{{ .Version }}-scratch"
57- - "diamon/helmwave:scratch"
53+ - ghcr.io/helmwave/helmwave:{{ .Version }}-scratch-amd64
54+ - ghcr.io/helmwave/helmwave:scratch-amd64
55+ - diamon/helmwave:{{ .Version }}-scratch-amd64
56+ - diamon/helmwave:scratch-amd64
5857 build_flag_templates:
5958 - "--label=org.opencontainers.image.description=Helmwave is tool for deploy your Helm Charts via GitOps"
6059 - "--label=org.opencontainers.image.created={{.Date}}"
@@ -71,14 +70,37 @@
7170 - "--pull"
7271 goos: linux
7372 goarch: amd64
73+ goamd64: v1
7474 use: buildx
7575 - dockerfile: Dockerfile
7676 image_templates:
77- - "ghcr.io/helmwave/helmwave:{{ .Version }}"
78- - "ghcr.io/helmwave/helmwave:latest"
77+ - ghcr.io/helmwave/helmwave:{{ .Version }}-scratch-arm64v8
78+ - ghcr.io/helmwave/helmwave:scratch-arm64v8
79+ - diamon/helmwave:{{ .Version }}-scratch-arm64v8
80+ - diamon/helmwave:scratch-arm64v8
81+ build_flag_templates:
82+ - "--label=org.opencontainers.image.description=Helmwave is tool for deploy your Helm Charts via GitOps"
83+ - "--label=org.opencontainers.image.created={{.Date}}"
84+ - "--label=org.opencontainers.image.title={{.ProjectName}}"
85+ - "--label=org.opencontainers.image.revision={{.FullCommit}}"
86+ - "--label=org.opencontainers.image.version={{.Version}}"
87+ - "--label=org.opencontainers.image.licenses=MIT"
88+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
89+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/helmwave"
90+ - "--label=org.opencontainers.image.documentation=https://helmwave.github.io/docs/"
7991
80- - "diamon/helmwave:{{ .Version }}"
81- - "diamon/helmwave:latest"
92+ - "--platform=linux/arm64/v8"
93+ - "--target=scratch-goreleaser"
94+ - "--pull"
95+ goos: linux
96+ goarch: arm64
97+ use: buildx
98+ - dockerfile: Dockerfile
99+ image_templates:
100+ - ghcr.io/helmwave/helmwave:{{ .Version }}-amd64
101+ - ghcr.io/helmwave/helmwave:latest-amd64
102+ - diamon/helmwave:{{ .Version }}-amd64
103+ - diamon/helmwave:latest-amd64
82104 build_flag_templates:
83105 - "--label=org.opencontainers.image.description=Helmwave is tool for deploy your Helm Charts via GitOps"
84106 - "--label=org.opencontainers.image.created={{.Date}}"
@@ -95,8 +117,66 @@
95117 - "--pull"
96118 goos: linux
97119 goarch: amd64
120+ goamd64: v1
121+ use: buildx
122+ - dockerfile: Dockerfile
123+ image_templates:
124+ - ghcr.io/helmwave/helmwave:{{ .Version }}-arm64v8
125+ - ghcr.io/helmwave/helmwave:latest-arm64v8
126+ - diamon/helmwave:{{ .Version }}-arm64v8
127+ - diamon/helmwave:latest-arm64v8
128+ build_flag_templates:
129+ - "--label=org.opencontainers.image.description=Helmwave is tool for deploy your Helm Charts via GitOps"
130+ - "--label=org.opencontainers.image.created={{.Date}}"
131+ - "--label=org.opencontainers.image.title={{.ProjectName}}"
132+ - "--label=org.opencontainers.image.revision={{.FullCommit}}"
133+ - "--label=org.opencontainers.image.version={{.Version}}"
134+ - "--label=org.opencontainers.image.licenses=MIT"
135+ - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
136+ - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/helmwave"
137+ - "--label=org.opencontainers.image.documentation=https://helmwave.github.io/docs/"
138+
139+ - "--platform=linux/arm64/v8"
140+ - "--target=goreleaser"
141+ - "--pull"
142+ goos: linux
143+ goarch: arm64
98144 use: buildx
99145
146+docker_manifests:
147+ - name_template: ghcr.io/helmwave/helmwave:{{ .Version }}-scratch
148+ image_templates:
149+ - ghcr.io/helmwave/helmwave:{{ .Version }}-scratch-amd64
150+ - ghcr.io/helmwave/helmwave:{{ .Version }}-scratch-arm64v8
151+ - name_template: ghcr.io/helmwave/helmwave:scratch
152+ image_templates:
153+ - ghcr.io/helmwave/helmwave:scratch-amd64
154+ - ghcr.io/helmwave/helmwave:scratch-arm64v8
155+ - name_template: diamon/helmwave:{{ .Version }}-scratch
156+ image_templates:
157+ - diamon/helmwave:{{ .Version }}-scratch-amd64
158+ - diamon/helmwave:{{ .Version }}-scratch-arm64v8
159+ - name_template: diamon/helmwave:scratch
160+ image_templates:
161+ - diamon/helmwave:scratch-amd64
162+ - diamon/helmwave:scratch-arm64v8
163+ - name_template: ghcr.io/helmwave/helmwave:{{ .Version }}
164+ image_templates:
165+ - ghcr.io/helmwave/helmwave:{{ .Version }}-amd64
166+ - ghcr.io/helmwave/helmwave:{{ .Version }}-arm64v8
167+ - name_template: ghcr.io/helmwave/helmwave:latest
168+ image_templates:
169+ - ghcr.io/helmwave/helmwave:latest-amd64
170+ - ghcr.io/helmwave/helmwave:latest-arm64v8
171+ - name_template: diamon/helmwave:{{ .Version }}
172+ image_templates:
173+ - diamon/helmwave:{{ .Version }}-amd64
174+ - diamon/helmwave:{{ .Version }}-arm64v8
175+ - name_template: diamon/helmwave:latest
176+ image_templates:
177+ - diamon/helmwave:latest-amd64
178+ - diamon/helmwave:latest-arm64v8
179+
100180 ###
101181 # Publishes
102182 ###