From d0e5235b1cbe5b77e66aeb3e2e193a5d09459b86 Mon Sep 17 00:00:00 2001 From: Tommie Gannert Date: Sat, 11 Sep 2021 13:10:59 +0200 Subject: [PATCH] Signing attempt #3. --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e55e649..1bcf28a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,10 +33,11 @@ jobs: - name: Set up GPG keys run: | - echo allow-preset-passphrase >>$HOME/.gnupg/gpg-agent.conf + mkdir -p "$HOME/.gnupg" + echo allow-preset-passphrase >>"$HOME/.gnupg/gpg-agent.conf" gpgconf --reload gpg-agent echo "${{ secrets.GPG_SIGNING_KEY }}" | gpg --quiet --batch --yes --import - gpg-connect-agent "PRESET_PASSPHRASE tommie/innernet-debian -1 $(echo ${{ secrets.GPG_SIGNING_PASSPHRASE }} | od -An -w256 -tx1 | tr -d ' ')" /bye + echo '${{ secrets.GPG_SIGNING_PASSPHRASE }}' | /usr/lib/gnupg/gpg-preset-passphrase --preset reprepro:1 - name: Download and include package files run: ./addlatest