Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Fix Gitlab build for gpg2
Browse files Browse the repository at this point in the history
  • Loading branch information
htdvisser committed Aug 30, 2017
1 parent 98ba13b commit 3b1084d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ sign:
script:
- pushd release
- shasum -a 256 $(ls) > checksums
- mkdir ~/.gnupg && chmod 700 ~/.gnupg
- echo -e "use-agent\npinentry-mode loopback" > ~/.gnupg/gpg.conf
- echo "allow-loopback-pinentry" > ~/.gnupg/gpg-agent.conf
- gpg --no-tty --batch --import /gpg/signing.ci.gpg-key
- gpg --no-tty --batch --no-use-agent --passphrase $GPG_PASSPHRASE --detach-sign checksums
- echo $GPG_PASSPHRASE | gpg --batch --no-tty --yes --passphrase-fd 0 --detach-sign checksums
- popd
artifacts:
paths:
Expand Down

0 comments on commit 3b1084d

Please sign in to comment.