Skip to content

philips-forks/github-action-git-crypt-unlock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Action running git-crypt unlock

Usage

Example Workflow file

jobs:
  deploy:
    name: git-crypt-unlock
    steps:
      - uses: actions/checkout@master
      - name: Unlock secrets
        uses: philips-forks/github-action-git-crypt-unlock@1.3.0
        env:
          GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}

Secrets

  • GIT_CRYPT_KEY Required Base64 encoded git-crypt key file.
    • Get it from an unlocked git-crypt env with:
      git-crypt export-key - | base64 -w0

Running tests

./test/entrypoint_test.sh

About

Github Action to unlock git-crypt secrets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 68.5%
  • Dockerfile 31.5%