diff --git a/.goreleaser.yml b/.goreleaser.yml index 820d718..24bc074 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -49,6 +49,24 @@ dockers: - "--platform=linux/amd64" goos: linux 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=darwin/arm64" + goos: darwin + 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=darwin/arm64" + goos: darwin + goarch: arm64 + use: buildx checksum: name_template: 'CHECKSUMS' diff --git a/Dockerfile-alpine b/Dockerfile-alpine index d82bbf3..96ac91c 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,4 +1,4 @@ -FROM alpine:3.14 as certs +FROM alpine:3.14 LABEL org.opencontainers.image.authors="yann@mandragor.org" \ org.opencontainers.image.source="https://github.com/yannh/kubeconform/" \ org.opencontainers.image.description="A Kubernetes manifests validation tool" \