File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 7
7
jobs :
8
8
release :
9
9
runs-on : ubuntu-latest
10
+ permissions :
11
+ contents : write
12
+ id-token : write # for cosign
10
13
env :
11
14
# https://github.com/actions/setup-go#supported-version-syntax
12
15
# ex:
57
60
- name : Install snapcraft
58
61
run : sudo snap install snapcraft --classic
59
62
63
+ - name : Set up cosign
64
+ uses : sigstore/cosign-installer@v3
65
+
60
66
- name : Set up QEMU
61
67
uses : docker/setup-qemu-action@v3
62
68
Original file line number Diff line number Diff line change @@ -87,6 +87,15 @@ release:
87
87
88
88
For key updates, see the [changelog](https://golangci-lint.run/product/changelog/#{{ .Major }}{{ .Minor }}{{ .Patch }}).
89
89
90
+ signs :
91
+ - cmd : cosign
92
+ args :
93
+ - sign-blob
94
+ - --bundle=${artifact}.cosign.bundle
95
+ - --yes
96
+ - ${artifact}
97
+ artifacts : checksum
98
+
90
99
source :
91
100
enabled : true
92
101
name_template : ' {{ .ProjectName }}-{{ .Version }}-source'
You can’t perform that action at this time.
0 commit comments