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:
parent
91bb7a4fd1
commit
337b9e9f0b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user