1
0
mirror of https://github.com/j178/prek.git synced 2026-04-09 01:52:24 +02:00
Files
prek/docs/integrations.md
2026-01-22 11:49:30 +08:00

644 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.3.0 /prek /usr/local/bin/prek

If you prefer, you can also run the distroless image directly:

docker run --rm ghcr.io/j178/prek:v0.3.0 --version

GitHub Actions

--8<-- "README.md:github-actions"