Merge pull request #521 from flatcar/jepio/gpg-import-batch

ci-automation: use --batch when importing gpg key
This commit is contained in:
Jeremi Piotrowski 2022-10-06 09:52:07 +02:00 committed by GitHub
commit de132c62d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ mkdir --mode=0700 "${GNUPGHOME}"
# workaround.
mkdir -p --mode=0700 "${GNUPGHOME}/private-keys-v1.d/"
if [[ -n "${SIGNING_KEY}" ]] && [[ -n "${SIGNER}" ]]; then
gpg --import "${SIGNING_KEY}"
gpg --batch --import "${SIGNING_KEY}"
else
SIGNER=''
fi