1
0
forked from IPKM/nmreval

force a start of gpg-agent, v3

This commit is contained in:
Markus Rosenstihl 2023-12-06 14:53:07 +01:00
parent a3f57fbf73
commit 32ca840c78

View File

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