Skip to content

GitLeaks Container Image

Opinionated gitleaks build for secret scanning in local workflows and pipelines.

Features

Builds gitleaks from the tagged upstream source with pinned Go toolchains for reproducible binaries.

Usage

Pull the image

podman pull registry.gitlab.com/niclas-zone/ctr/gitleaks:latest

Run a scan

podman run --rm \
  -v $(pwd):/repo \
  -w /repo \
  registry.gitlab.com/niclas-zone/ctr/gitleaks:latest \
  detect --source . --verbose

Author

Niclas Heinz

Contributing

Contributions are welcome! Please open an issue or submit a merge request if you have suggestions or improvements.

License

This project is licensed under the MIT License. See LICENSE for details.