We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 420b13a commit 087f619Copy full SHA for 087f619
.github/workflows/release.yaml
@@ -41,6 +41,8 @@ jobs:
41
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
42
passphrase: ${{ secrets.GPG_PASSPHRASE }}
43
44
+ # nfpm-rpm signing needs gpg provided as filepath
45
+ # https://goreleaser.com/customization/nfpm/
46
- name: Create GPG key file
47
run: |
48
echo "${{ secrets.GPG_PRIVATE_KEY }}" > gpg-private-key.asc
@@ -77,6 +79,7 @@ jobs:
77
79
GITHUB_TOKEN: ${{ secrets.CLI_RELEASE }}
78
80
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
81
GPG_KEY_PATH: ./gpg-private-key.asc
82
+ # nfpm-rpm signing needs this env to be set.
83
NFPM_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
84
85
- name: Clean up GPG key file
0 commit comments