File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-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,17 @@ release:
8787
8888    For key updates, see the [changelog](https://golangci-lint.run/product/changelog/#{{ .Major }}{{ .Minor }}{{ .Patch }}). 
8989
90+ signs :
91+   - signature : ${artifact}.sigstore.json 
92+     cmd : cosign 
93+     args :
94+       - sign-blob 
95+       - --bundle=${signature} 
96+       - --new-bundle-format 
97+       - --yes 
98+       - ${artifact} 
99+     artifacts : checksum 
100+ 
90101source :
91102  enabled : true 
92103  name_template : ' {{ .ProjectName }}-{{ .Version }}-source' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments