Docker image build for yamllint, using distroless as a base image. This image is meant to be used in a CI build step.
- docker pull docker.io/containerinfra/yamllint:latest
- docker pull ghcr.io/containerinfra/yamllint:latest
All containerinfra/yamllint images are signed by cosign. You can verify these using cosign verify
:
cat cosign.pub
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYpxYmR6qpyer9WJHhSxd91XMx+A+
eQm/6XSWAMDGeH4hrFpvo8Sw0t+xf0PdRSUEXCyKFXve+Q2s8csVo4eAaA==
-----END PUBLIC KEY-----
cosign verify --key cosign.pub docker.io/containerinfra/yamllint:latest
cosign verify --key cosign.pub ghcr.io/containerinfra/yamllint:latest
See the yamllint documentation.
In Gitlab CI
yaml:lint:
stage: lint
image: ghcr.io/containerinfra/yamllint
script:
- yamllint mydirectory/ -c .yamllint.yml
This image is build at least once a month automatically.
PRs accepted. All issues should be reported in the Github issue tracker.