build: fix environment name

Signed-off-by: Jeffrey Stoke <me@arhat.dev>
This commit is contained in:
Jeffrey Stoke 2021-06-15 04:07:56 +02:00
parent da0dfab9d3
commit dbcf6d27b0
No known key found for this signature in database
GPG Key ID: E5E9C02E06248F4F
2 changed files with 7 additions and 7 deletions

View File

@ -35,12 +35,12 @@ There are two types of images.
## Environment Variables for images with `build` in tag
| Name | Description | Default Value |
| --------------------- | ----------------------------------------------------------------------------------- | ------------- |
| `PROTONMAIL_USERNAME` | your protonmail account username | (not set) |
| `PROTONMAIL_PASSWORD` | the password for your protonmail account | (not set) |
| `MASTER_PASSWORD` | the master password for the internal password manager required by protonmail-bridge | `pass-key` |
| `GNUPGHOME` | change the defulat `/root/.gnupg` to this directory as a workaround for gpg error | `/tmp/gnupg` |
| Name | Description | Default Value |
| --------------------- | --------------------------------------------------------------------------------- | ------------- |
| `PROTONMAIL_USERNAME` | your protonmail account username | (not set) |
| `PROTONMAIL_PASSWORD` | the password for your protonmail account | (not set) |
| `KEY_ID` | the pgp-id for the internal password manager required by protonmail-bridge | `pass-key` |
| `GNUPGHOME` | change the defulat `/root/.gnupg` to this directory as a workaround for gpg error | `/tmp/gnupg` |
## Initialization

View File

@ -20,7 +20,7 @@ if [[ $1 == init ]]; then
# Initialize pass
gpg --generate-key --batch /protonmail/gpgparams
pass init "${MASTER_PASSWORD:-"pass-key"}"
pass init "${KEY_ID:-"pass-key"}"
# Login
do_login="/protonmail/proton-bridge --cli $*"