-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d2c6e9
commit 07c10cc
Showing
1 changed file
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,29 @@ | ||
# git-crypt-pipe | ||
Bitbucket pipe for decrypting git-crypt'ed files | ||
# Bitbucket Pipelines Pipe: 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: 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`. |