File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 77jobs :
88 release :
99 runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ id-token : write # for cosign
1013 env :
1114 # https://github.com/actions/setup-go#supported-version-syntax
1215 # ex:
5760 - name : Install snapcraft
5861 run : sudo snap install snapcraft --classic
5962
63+ - name : Set up cosign
64+ uses : sigstore/cosign-installer@v3
65+
6066 - name : Set up QEMU
6167 uses : docker/setup-qemu-action@v3
6268
Original file line number Diff line number Diff line change @@ -87,6 +87,16 @@ release:
8787
8888 For key updates, see the [changelog](https://golangci-lint.run/product/changelog/#{{ .Major }}{{ .Minor }}{{ .Patch }}).
8989
90+ signs :
91+ - signature : ${artifact}.cosign.bundle
92+ cmd : cosign
93+ args :
94+ - sign-blob
95+ - --bundle=${signature}
96+ - --yes
97+ - ${artifact}
98+ artifacts : checksum
99+
90100source :
91101 enabled : true
92102 name_template : ' {{ .ProjectName }}-{{ .Version }}-source'
You can’t perform that action at this time.
0 commit comments