Signing attempt #4.

pull/1/head
Tommie Gannert 2021-09-11 13:19:43 +02:00
parent 43883b4aea
commit 236a5ea3ed
1 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,9 @@ jobs:
- name: Set up GPG keys - name: Set up GPG keys
run: | run: |
mkdir -p -m 0700 "$HOME/.gnupg" mkdir -p -m 0700 "$HOME/.gnupg"
echo allow-preset-passphrase >>"$HOME/.gnupg/gpg-agent.conf" echo 'pinentry-mode loopback' >>"$HOME/.gnupg/gpg.conf"
echo 'allow-loopback-pinentry' >>"$HOME/.gnupg/gpg-agent.conf"
echo 'allow-preset-passphrase' >>"$HOME/.gnupg/gpg-agent.conf"
gpgconf --reload gpg-agent gpgconf --reload gpg-agent
echo "${{ secrets.GPG_SIGNING_KEY }}" | gpg --quiet --batch --yes --import echo "${{ secrets.GPG_SIGNING_KEY }}" | gpg --quiet --batch --yes --import
echo '${{ secrets.GPG_SIGNING_PASSPHRASE }}' | /usr/lib/gnupg/gpg-preset-passphrase --preset reprepro:1 echo '${{ secrets.GPG_SIGNING_PASSPHRASE }}' | /usr/lib/gnupg/gpg-preset-passphrase --preset reprepro:1