File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,8 @@ jobs:
114
114
env :
115
115
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
116
116
if : ${{ startsWith(github.ref, 'refs/tags/') }}
117
+ - name : Download Syft
118
+ uses :
anchore/sbom-action/[email protected]
117
119
- name : Run GoReleaser
118
120
uses : goreleaser/goreleaser-action@v3
119
121
with :
Original file line number Diff line number Diff line change 2
2
hooks :
3
3
- go mod tidy
4
4
- go mod verify
5
+
5
6
builds :
6
7
- env :
7
8
- CGO_ENABLED=0
@@ -32,14 +33,21 @@ builds:
32
33
- all=-trimpath={{.Env.GOPATH}}
33
34
asmflags :
34
35
- all=-trimpath={{.Env.GOPATH}}
36
+
37
+ sboms :
38
+ - artifacts : archive
39
+
35
40
archives :
36
41
- format_overrides :
37
42
- goos : windows
38
43
format : zip
44
+
39
45
checksum :
40
46
name_template : ' sha256sums.txt'
47
+
41
48
changelog :
42
49
skip : true
50
+
43
51
brews :
44
52
- tap :
45
53
owner : nginxinc
You can’t perform that action at this time.
0 commit comments