Skip to content
Snippets Groups Projects
Unverified Commit b91c472c authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Remove temporary key file and pipe key to gpg

parent 5bc0f38a
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -5,13 +5,10 @@ main:
- apt-get update
- apt-get install -y gnupg2
- date > message
- echo "$GPG_KEY" > key.asc
- cat key.asc
- gpg --import key.asc || true
- gpg --detach-sign -a message || true
- echo "$GPG_KEY" | gpg --import key.asc
- gpg --detach-sign -a message
artifacts:
expire_in: 1 day
paths:
- "message*"
- "key.asc"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment