0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-04 12:32:59 +00:00

Initial fix for GPG signing issue

This commit is contained in:
Dan Petersen 2021-02-10 00:26:31 +01:00
parent 53f1e93f21
commit b0bc399fca
2 changed files with 7 additions and 2 deletions

View File

@ -4,7 +4,8 @@ on:
tags: tags:
- 'v*' - 'v*'
jobs: jobs:
goreleaser: release:
name: Tag
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- -

View File

@ -6,7 +6,8 @@ on:
- master - master
- 'v*' - 'v*'
jobs: jobs:
goreleaser: test:
name: Pull Request
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- -
@ -24,6 +25,9 @@ jobs:
env: env:
GPG_KEY: ${{ secrets.GPG_KEY }} GPG_KEY: ${{ secrets.GPG_KEY }}
run: | run: |
GPG_TTY="$(tty)"
export GPG_TTY
echo "$GPG_KEY" | base64 -d | gpg --batch --allow-secret-key-import --import echo "$GPG_KEY" | base64 -d | gpg --batch --allow-secret-key-import --import
gpg --keyid-format LONG --list-secret-keys gpg --keyid-format LONG --list-secret-keys
- -