mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-23 19:57:02 +00:00
goreleaser: build arm64 images
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
08258e4304
commit
b4af00301c
1 changed files with 18 additions and 0 deletions
|
|
@ -49,6 +49,24 @@ dockers:
|
||||||
- "--platform=linux/amd64"
|
- "--platform=linux/amd64"
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
|
- image_templates:
|
||||||
|
- 'ghcr.io/{{.Env.GIT_OWNER}}/kubeconform:latest-arm64'
|
||||||
|
- 'ghcr.io/{{.Env.GIT_OWNER}}/kubeconform:{{ .Tag }}-arm64'
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
build_flag_templates:
|
||||||
|
- "--platform=linux/arm64"
|
||||||
|
goos: linux
|
||||||
|
goarch: arm64
|
||||||
|
use: buildx
|
||||||
|
- image_templates:
|
||||||
|
- 'ghcr.io/{{.Env.GIT_OWNER}}/kubeconform:latest-arm64-alpine'
|
||||||
|
- 'ghcr.io/{{.Env.GIT_OWNER}}/kubeconform:{{ .Tag }}-arm64-alpine'
|
||||||
|
dockerfile: Dockerfile-alpine
|
||||||
|
build_flag_templates:
|
||||||
|
- "--platform=linux/arm64"
|
||||||
|
goos: linux
|
||||||
|
goarch: arm64
|
||||||
|
use: buildx
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'CHECKSUMS'
|
name_template: 'CHECKSUMS'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue