Skip to content

Commit

Permalink
Also release an alpine variant of the Docker image for Gitlab CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yannh committed Aug 29, 2021
1 parent 2eefa7f commit 4544f45
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM alpine:3.14 as certs
MAINTAINER Yann HAMON <[email protected]>
RUN apk add ca-certificates
COPY kubeconform /
ENTRYPOINT ["/kubeconform"]

0 comments on commit 4544f45

Please sign in to comment.