File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,14 @@ cd trivy-repo/deb
7
7
8
8
for release in ${DEBIAN_RELEASES[@]} ${UBUNTU_RELEASES[@]} ; do
9
9
echo " Removing deb package of $release "
10
+ reprepro -A i386 remove $release trivy
10
11
reprepro -A amd64 remove $release trivy
11
12
reprepro -A arm64 remove $release trivy
12
13
done
13
14
14
15
for release in ${DEBIAN_RELEASES[@]} ${UBUNTU_RELEASES[@]} ; do
15
16
echo " Adding deb package to $release "
17
+ reprepro includedeb $release ../../dist/* Linux-32bit.deb
16
18
reprepro includedeb $release ../../dist/* Linux-64bit.deb
17
19
reprepro includedeb $release ../../dist/* Linux-ARM64.deb
18
20
done
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ builds:
12
12
goos :
13
13
- linux
14
14
goarch :
15
+ - 386
16
+ - arm
15
17
- amd64
16
18
- arm64
17
19
- s390x
@@ -31,6 +33,7 @@ builds:
31
33
- freebsd
32
34
goarch :
33
35
# modernc.org/sqlite doesn't support freebsd/arm64, etc.
36
+ - 386
34
37
- amd64
35
38
- id : build-macos
36
39
main : cmd/trivy/main.go
@@ -60,6 +63,7 @@ builds:
60
63
goos :
61
64
- windows
62
65
goarch :
66
+ # modernc.org/sqlite doesn't support windows/386 and windows/arm, etc.
63
67
- amd64
64
68
goarm :
65
69
- 7
88
92
{{- else if eq .Os "dragonfly" }}DragonFlyBSD
89
93
{{- else}}{{- title .Os }}{{ end }}-
90
94
{{- if eq .Arch "amd64" }}64bit
95
+ {{- else if eq .Arch "386" }}32bit
91
96
{{- else if eq .Arch "arm" }}ARM
92
97
{{- else if eq .Arch "arm64" }}ARM64
93
98
{{- else if eq .Arch "ppc64le" }}PPC64LE
@@ -112,6 +117,7 @@ archives:
112
117
{{- else if eq .Os "dragonfly" }}DragonFlyBSD
113
118
{{- else}}{{- .Os }}{{ end }}-
114
119
{{- if eq .Arch "amd64" }}64bit
120
+ {{- else if eq .Arch "386" }}32bit
115
121
{{- else if eq .Arch "arm" }}ARM
116
122
{{- else if eq .Arch "arm64" }}ARM64
117
123
{{- else if eq .Arch "ppc64le" }}PPC64LE
You can’t perform that action at this time.
0 commit comments