mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-20 18:37:01 +00:00
Also release an alpine variant of the Docker image for Gitlab CI
This commit is contained in:
parent
2eefa7fc22
commit
4544f45fa1
2 changed files with 14 additions and 0 deletions
|
|
@ -38,6 +38,15 @@ dockers:
|
||||||
- "--platform=linux/amd64"
|
- "--platform=linux/amd64"
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: amd64
|
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:
|
checksum:
|
||||||
name_template: 'CHECKSUMS'
|
name_template: 'CHECKSUMS'
|
||||||
|
|
|
||||||
5
Dockerfile-alpine
Normal file
5
Dockerfile-alpine
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
FROM alpine:3.14 as certs
|
||||||
|
MAINTAINER Yann HAMON <yann@mandragor.org>
|
||||||
|
RUN apk add ca-certificates
|
||||||
|
COPY kubeconform /
|
||||||
|
ENTRYPOINT ["/kubeconform"]
|
||||||
Loading…
Reference in a new issue