Skip to content

Commit

Permalink
Also dump in base64 encoded format
Browse files Browse the repository at this point in the history
  • Loading branch information
DRuggeri committed Sep 6, 2021
1 parent ac40c39 commit d161a4e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/gpginfo.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: GPG Info
on: workflow_dispatch
jobs:
goreleaser:
Expand All @@ -16,6 +16,11 @@ jobs:
name: Get default key info
run: |
echo "GPG fingerprint: $GPG_FINGERPRINT"
echo ""
echo "ASCII armor export:"
gpg --armor --export $GPG_FINGERPRINT
echo ""
echo "ASCII armor export + base64:"
gpg --armor --export $GPG_FINGERPRINT | openssl enc -a
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

0 comments on commit d161a4e

Please sign in to comment.