1
0
forked from IPKM/nmreval

force a start of gpg-agent, v2

This commit is contained in:
Markus Rosenstihl 2023-12-06 14:52:26 +01:00
parent c157ebb0f9
commit a3f57fbf73

View File

@ -22,7 +22,7 @@ jobs:
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
- name: Prepare GPG
run: |
gpg-connect-agent -q 'keyinfo --list' /bye
eval $(gpg-agent --daemon --allow-preset-passphrase --default-cache-ttl 1 --max-cache-ttl 7200
/usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP}
env:
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}