Skip to content

Commit

Permalink
chore: handle gpg manually
Browse files Browse the repository at this point in the history
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
  • Loading branch information
panchoh and Héctor Hurtado committed Jun 5, 2020
1 parent 4f9ad6f commit 5f5d867
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v2
# - name: Import GPG key
# id: import_gpg
# uses: crazy-max/ghaction-import-gpg@v2
# env:
# GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}

- name: Load GPG private key
run: |
echo "$GPG_PRIVATE_KEY" | gpg --import
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}

Expand All @@ -42,3 +48,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GO_VERSION: 1.14.4

- name: Clear ~/.gnupg
run: |
rm -rf ~/.gnupg

0 comments on commit 5f5d867

Please sign in to comment.