Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomerh2001/git-crypt-pipe
Decrypts git-crypt encrypted repositories in Bitbucket Pipelines.
https://github.com/tomerh2001/git-crypt-pipe
bitbucket bitbucket-pipeline cryptography git git-crypt pipe
Last synced: 3 days ago
JSON representation
Decrypts git-crypt encrypted repositories in Bitbucket Pipelines.
- Host: GitHub
- URL: https://github.com/tomerh2001/git-crypt-pipe
- Owner: tomerh2001
- License: mit
- Created: 2023-09-30T16:16:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-08T16:43:57.000Z (8 days ago)
- Last Synced: 2024-11-08T17:38:23.804Z (8 days ago)
- Topics: bitbucket, bitbucket-pipeline, cryptography, git, git-crypt, pipe
- Language: Shell
- Homepage:
- Size: 406 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Bitbucket Git Crypt Pipe
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![XO code style](https://shields.io/badge/code_style-5ed9c7?logo=xo&labelColor=gray)](https://github.com/xojs/xo)
[![Snyk Security](../../actions/workflows/snyk-security.yml/badge.svg)](../../actions/workflows/snyk-security.yml)
[![CodeQL](../../actions/workflows/codeql.yml/badge.svg)](../../actions/workflows/codeql.yml)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/tomerh2001/git-crypt-pipe/badge)](https://securityscorecards.dev/viewer/?uri=github.com/tomerh2001/git-crypt-pipe)Decrypts `git-crypt` encrypted repositories in Bitbucket Pipelines.
## YAML Definition
Add the following snippet to the script section of your `bitbucket-pipelines.yml` file:
```yaml
script:
- pipe: docker://tomerh2001/git-crypt-pipe:latest
variables:
SECRETS_KEY: $SECRETS_KEY
```## Variables
| Name | Usage | Type |
|--------------|----------------------------------------------|----------|
| `SECRETS_KEY`| The base64 encoded git-crypt key. | Mandatory|## Details
This pipe is built to help you decrypt files in your git repository encrypted using `git-crypt` during a Bitbucket Pipeline run. Ensure that you have `git-crypt` setup properly in your repository before using this pipe.
## Prerequisites
- You must have your repository encrypted with `git-crypt`.
- A base64 encoded `git-crypt` key stored in your Bitbucket Pipelines environment variables as `SECRETS_KEY`.