Sign inSign up

kadykov/tiny-pre-commit

By kadykov

•Updated about 2 years ago

Minimal pre-commit image

Image
Integration & delivery
Developer tools
0

268

kadykov/tiny-pre-commit repository overview

⁠pre-commit in Docker

Minimal (~ 35 MB) docker⁠ image for running pre-commit⁠ hooks.

⁠Usage

⁠GitLab CI/CD

---
# .gitlab-ci.yml

stages:
  - pre_commit

pre_commit:
  stage: pre_commit
  image: kadykov/tiny-pre-commit
  script:
    - pre-commit run --all-files
  variables:
    PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
  cache:
    paths:
      - ${PRE_COMMIT_HOME}

Source on GitLab⁠

Tag summary

Content type

Image

Digest

sha256:0157701b2…

Size

35 MB

Last updated

about 2 years ago

docker pull kadykov/tiny-pre-commit