IamTheFij
95effa7859
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
Fixes #11 |
||
---|---|---|
tests | ||
.drone.yml | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.pre-commit-hooks.yaml | ||
LICENSE | ||
Makefile | ||
README.md | ||
compose-check.sh | ||
hadolint-deprecation.sh |
README.md
docker-pre-commit
A set of pre-commit hooks for Docker services
Installation
Add the following to your .pre-commit-config.yaml
file
- repo: https://github.com/iamthefij/docker-pre-commit
rev: master
hooks:
- id: docker-compose-check
and then run pre-commit autoupdate
.
Hooks
docker-compose-check
Verifies that docker-compose files are valid by using docker-compose config
to parse them.
hadolint (Removed)
These hooks have been removed in favor of the ones that have been added to https://github.com/hadolint/hadolint