Skip to content

Commit 406c5fc

Browse files
authored
feat: Sign commits with GPG (#174)
1 parent f52714d commit 406c5fc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,19 @@ jobs:
2020
uses: actions/setup-go@v2
2121
with:
2222
go-version: 1.16.x
23+
-
24+
name: Import GPG key
25+
id: import_gpg
26+
uses: crazy-max/[email protected]
27+
with:
28+
gpg-private-key: ${{ secrets.MEROXA_MACHINE_GPG_KEY }}
29+
passphrase: ${{ secrets.MEROXA_MACHINE_GPG_PASSPHRASE }}
2330
-
2431
name: Run GoReleaser
2532
uses: goreleaser/goreleaser-action@v1
2633
with:
2734
version: latest
2835
args: release --rm-dist
2936
env:
37+
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
3038
GITHUB_TOKEN: ${{ secrets.MEROXA_MACHINE }}

0 commit comments

Comments
 (0)