Skip to content

containerinfra/yamllint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker yamllint

Docker image build for yamllint, using distroless as a base image. This image is meant to be used in a CI build step.

Docker hub GitHub Workflow Status

Table of Contents

Usage

Images

  • docker pull docker.io/containerinfra/yamllint:latest
  • docker pull ghcr.io/containerinfra/yamllint:latest

Verify image with cosign

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

Configuration

See the yamllint documentation.

Usage

In Gitlab CI

yaml:lint:
  stage: lint
  image: ghcr.io/containerinfra/yamllint
  script:
    - yamllint mydirectory/ -c .yamllint.yml

Automated build

This image is build at least once a month automatically.

Contribute

PRs accepted. All issues should be reported in the Github issue tracker.

License

MIT © ContainerInfra

About

yamlint docker build for use in CI pipelines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published