1
0
mirror of https://github.com/j178/prek.git synced 2026-04-25 02:11:36 +02:00
Files
prek/docs/integrations.md
T
2026-01-07 22:14:04 +08:00

728 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.27 /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.27 --version

GitHub Actions

{% include-markdown "../README.md" start="" end="" %}