mirror of
https://github.com/j178/prek.git
synced 2026-04-25 02:11:36 +02:00
88c3c87954
* chore: slight formatting adjustments * feat: use zensical * chore: add uv to mise.toml * docs: update snippets and snippet markers for includes * chore: add prek to mise.toml; run prek * fix: use snippet for changelog instead of symlink Seems Zensical doesn't like symlinks, a snippet gets the same result * chore: remove commented-out code * chore: remove commented-out code; run prek
646 B
646 B
Integrations
This page documents common ways to integrate prek into CI and container workflows.
Docker
prek is published as a distroless container image at:
ghcr.io/j178/prek
The image is based on scratch (no shell, no package manager). It contains the prek binary at /prek.
A common pattern is to copy the binary into your own image:
FROM debian:bookworm-slim
COPY --from=ghcr.io/j178/prek:v0.2.30 /prek /usr/local/bin/prek
If you prefer, you can also run the distroless image directly:
docker run --rm ghcr.io/j178/prek:v0.2.30 --version
GitHub Actions
--8<-- "README.md:github-actions"