See https://github.com/AndreasAugustin/docker-images/images/git-secrets for the source.
10K+
Contains the git-secrets image.
Please check dev.to/andreasaugustin for details why you should use git-secrets for your git repositories.
easiest way to use this image is with docker-compose
# docker-compose.yaml
version: '3.7'
services:
git-secrets:
# image from github packages
# image: ghcr.io/andreasaugustin/git-secrets:main
# image from dockerhub
image: andyaugustin/git-secrets:main
volumes:
# within . your code should be located on the OS
- .:/app/
working_dir: /app/
You are now able to use the image with following commands:
# open terminal with installed commands
docker-compose run git-secrets
If you don't need a terminal (e.q. for CI/CD purposes) run
docker-compose run git-secrets git-secrets <command>
Content type
Image
Digest
sha256:fb124ab6d…
Size
80.8 MB
Last updated
almost 3 years ago
docker pull andyaugustin/git-secrets