Fix GPG command to include passphrase for secret key export in package-and-deploy workflow
Some checks failed
Package & Sign Helm Chart / build (release) Failing after 20s
Some checks failed
Package & Sign Helm Chart / build (release) Failing after 20s
This commit is contained in:
@@ -36,6 +36,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
install -m 700 -d /tmp/gpgring
|
install -m 700 -d /tmp/gpgring
|
||||||
gpg --batch --yes --pinentry-mode loopback \
|
gpg --batch --yes --pinentry-mode loopback \
|
||||||
|
--passphrase "$PASSPHRASE" \
|
||||||
--export-secret-keys "$GPG_KEY_ID" \
|
--export-secret-keys "$GPG_KEY_ID" \
|
||||||
>/tmp/gpgring/secring.gpg
|
>/tmp/gpgring/secring.gpg
|
||||||
chmod 600 /tmp/gpgring/secring.gpg
|
chmod 600 /tmp/gpgring/secring.gpg
|
||||||
|
|||||||
Reference in New Issue
Block a user