We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bad6909 commit 66e553aCopy full SHA for 66e553a
.github/workflows/goreleaser.yml
@@ -17,10 +17,16 @@ jobs:
17
uses: actions/setup-go@v3
18
with:
19
go-version: '~1.19'
20
+ - name: Get the signing key
21
+ run: |
22
+ echo -n ${{ secrets.GPG_SIGNING_KEY }} | base64 --decode > /tmp/gpg_signing.key
23
+ printf '%s' '${{ secrets.GPG_PASSPHRASE }}' >/tmp/gpg_passphrase
24
+ cat /tmp/gpg_passphrase | gpg --passphrase-fd 0 --no-tty --batch --import /tmp/gpg_signing.key
25
- name: Run GoReleaser
26
uses: goreleaser/goreleaser-action@v4
27
28
version: latest
29
args: release --rm-dist
30
env:
31
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
32
+ SIGN_KEY_NAME: ${{ secrets.SIGN_KEY_NAME }}
0 commit comments