Skip to content

Commit 6a76d60

Browse files
authored
🔐 Add signing (#43)
1 parent 7a80121 commit 6a76d60

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f
1717

18+
- uses: crazy-max/ghaction-import-gpg@v5
19+
id: gpg
20+
with:
21+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
22+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
23+
1824
- uses: cli/gh-extension-precompile@640911b0a0f2adb89a07a8ba547053cbd4001e1e
1925
with:
2026
go_version: 1.20.x
27+
gpg_fingerprint: ${{ steps.gpg.outputs.fingerprint }}

.goreleaser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ archives:
2828
checksum:
2929
name_template: "checksums.txt"
3030

31+
signs:
32+
- artifacts: checksum
33+
3134
snapshot:
3235
name_template: "{{ incpatch .Version }}"
3336

0 commit comments

Comments
 (0)