Sign inSign up

andyaugustin/git-crypt

By andyaugustin

Updated almost 3 years ago

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

Image
0

425

andyaugustin/git-crypt repository overview

git-crypt

Abstract

Contains the git-crypt image.

Please check dev.to/andreasaugustin for details why you should use git-crypt 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-crypt:main
    # image from dockerhub
    image: andyaugustin/git-crypt: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-crypt

If you don't need a terminal (e.q. for CI/CD purposes) run

docker-compose run git-crypt git-crypt <command>

Tag summary

Content type

Image

Digest

sha256:e2c29c880

Size

84.2 MB

Last updated

almost 3 years ago

docker pull andyaugustin/git-crypt