Commit b245f12 1 parent 867fa7e commit b245f12 Copy full SHA for b245f12
File tree 2 files changed +21
-2
lines changed
2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,25 @@ jobs:
17
17
uses : actions/checkout@v2
18
18
with :
19
19
fetch-depth : 0
20
+
20
21
- name : Set up Go
21
22
uses : actions/setup-go@v2
22
23
with :
23
24
go-version : 1.23.3
25
+
24
26
- name : Set up Docker Buildx
25
27
uses : docker/setup-buildx-action@v2
28
+
26
29
- name : Log in to registry
27
30
run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
28
- - uses : cachix/install-nix-action@v22
31
+
32
+ - name : Import GPG key
33
+ id : import_gpg
34
+ uses : crazy-max/ghaction-import-gpg@v6
29
35
with :
30
- nix_path : nixpkgs=channel:nixos-unstable
36
+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
37
+ passphrase : ${{ secrets.PASSPHRASE }}
38
+
31
39
- name : Run GoReleaser
32
40
uses : goreleaser/goreleaser-action@v2
33
41
with :
38
46
GITHUB_TOKEN : ${{ secrets.PAT }}
39
47
FURY_TOKEN : ${{ secrets.FURY_TOKEN }}
40
48
BLUESKY_APP_PASSWORD : ${{ secrets.BLUESKY_APP_PASSWORD }}
49
+ GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
Original file line number Diff line number Diff line change @@ -82,6 +82,16 @@ binary_signs:
82
82
83
83
signs :
84
84
- artifacts : checksum
85
+ args :
86
+ [
87
+ " --batch" ,
88
+ " -u" ,
89
+ " {{ .Env.GPG_FINGERPRINT }}" ,
90
+ " --output" ,
91
+ " ${signature}" ,
92
+ " --detach-sign" ,
93
+ " ${artifact}" ,
94
+ ]
85
95
86
96
announce :
87
97
bluesky :
You can’t perform that action at this time.
0 commit comments