forked from IPKM/nmreval
force a start of gpg-agent, v2
This commit is contained in:
parent
c157ebb0f9
commit
a3f57fbf73
@ -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: |
|
||||||
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}
|
/usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP}
|
||||||
env:
|
env:
|
||||||
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
|
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
|
||||||
|
Loading…
Reference in New Issue
Block a user