diff --git a/.goreleaser.yml b/.goreleaser.yml index af1e95b..67481b9 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -38,6 +38,15 @@ dockers: - "--platform=linux/amd64" goos: linux goarch: amd64 + - image_templates: + - 'ghcr.io/yannh/kubeconform:latest-alpine' + - 'ghcr.io/yannh/kubeconform:{{ .Tag }}-alpine' + - 'ghcr.io/yannh/kubeconform:{{ .Tag }}-amd64-alpine' + dockerfile: Dockerfile-alpine + build_flag_templates: + - "--platform=linux/amd64" + goos: linux + goarch: amd64 checksum: name_template: 'CHECKSUMS' diff --git a/Dockerfile-alpine b/Dockerfile-alpine new file mode 100644 index 0000000..281b18c --- /dev/null +++ b/Dockerfile-alpine @@ -0,0 +1,5 @@ +FROM alpine:3.14 as certs +MAINTAINER Yann HAMON +RUN apk add ca-certificates +COPY kubeconform / +ENTRYPOINT ["/kubeconform"]