Sign inSign up

andyaugustin/git-secrets

By andyaugustin

Updated almost 3 years ago

See https://github.com/AndreasAugustin/docker-images/images/git-secrets for the source.

Image
0

10K+

andyaugustin/git-secrets repository overview

git-secrets

Abstract

Contains the git-secrets image.

Please check dev.to/andreasaugustin for details why you should use git-secrets for your git repositories.

Usage

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>

Tag summary

Content type

Image

Digest

sha256:fb124ab6d

Size

80.8 MB

Last updated

almost 3 years ago

docker pull andyaugustin/git-secrets