Skip to content

Commit 4544f45

Browse files
committedAug 29, 2021
Also release an alpine variant of the Docker image for Gitlab CI
1 parent 2eefa7f commit 4544f45

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
 

‎.goreleaser.yml

+9
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ dockers:
3838
- "--platform=linux/amd64"
3939
goos: linux
4040
goarch: amd64
41+
- image_templates:
42+
- 'ghcr.io/yannh/kubeconform:latest-alpine'
43+
- 'ghcr.io/yannh/kubeconform:{{ .Tag }}-alpine'
44+
- 'ghcr.io/yannh/kubeconform:{{ .Tag }}-amd64-alpine'
45+
dockerfile: Dockerfile-alpine
46+
build_flag_templates:
47+
- "--platform=linux/amd64"
48+
goos: linux
49+
goarch: amd64
4150

4251
checksum:
4352
name_template: 'CHECKSUMS'

‎Dockerfile-alpine

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM alpine:3.14 as certs
2+
MAINTAINER Yann HAMON <yann@mandragor.org>
3+
RUN apk add ca-certificates
4+
COPY kubeconform /
5+
ENTRYPOINT ["/kubeconform"]

0 commit comments

Comments
 (0)
Please sign in to comment.