Add support for Arm64 Docker images

This commit is contained in:
Yann Hamon 2023-05-14 12:21:48 +02:00
parent ce2f6de185
commit 98fbde31db
2 changed files with 17 additions and 1 deletions

View file

@ -49,6 +49,22 @@ 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
- 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
checksum:
name_template: 'CHECKSUMS'

View file

@ -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" \