.github: retry the binhost key download

A failed download reached gpg as empty input and failed the job with only "no valid
OpenPGP data found", so download to a file with retries first.

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-10-21 19:29:12 +11:00
1 parent 86fafae4c9
commit e6469aaa0c
1 file changed
+4 -1
+4 -1
View File
@@ -42,7 +42,10 @@ runs:
run: |
getuto
export GNUPGHOME=/etc/portage/gnupg
wget -qO - https://distfiles.gentoozh.org/gentoo-zh-binhost.asc | gpg --import
wget --no-verbose --tries=5 --waitretry=10 --retry-connrefused --retry-on-host-error \
--retry-on-http-error=429,500,502,503,504 \
-O /tmp/gentoo-zh-binhost.asc https://distfiles.gentoozh.org/gentoo-zh-binhost.asc
gpg --import /tmp/gentoo-zh-binhost.asc
gpg --batch --yes --pinentry-mode loopback --passphrase-file "$GNUPGHOME/pass" --lsign-key 6A0726AF1476A2F382C6AC6638A0234EC16AD42E
gpg --batch --check-trustdb