Pre-Commit hooks for validating Docker projects
Go to file
Ian Fijolek 62a24686f7
Some checks failed
continuous-integration/drone/push Build is failing
Merge branch 'cdalvaro/podman_support'
Closes #16
2024-06-24 11:36:03 -07:00
tests Add some tests and drone to run them 2020-01-28 15:21:42 -05:00
.drone.yml Use personal drone-pre-commit image that has docker-compose binary installed 2023-10-26 14:53:53 -07:00
.gitignore Initial commit 2018-05-21 10:31:17 -07:00
.pre-commit-config.yaml Add pre-commit hooks of our own 2020-09-19 20:07:34 +00:00
.pre-commit-hooks.yaml Fix regex to match a literal dot before extension 2023-04-19 09:19:08 -07:00
compose-check.sh feat: Add podman support 2024-05-12 18:50:33 +02:00
LICENSE Initial commit 2018-05-21 10:31:17 -07:00
Makefile Add test hooks with try-repo 2023-10-26 14:56:42 -07:00
README.md Use compose plugin language in documentation 2023-04-19 09:18:55 -07:00

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.