Skip to content

Commit 4e1316c

Browse files
authored
revert 32bit bins (#4977)
1 parent fc959fc commit 4e1316c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ci/deploy-deb.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ cd trivy-repo/deb
77

88
for release in ${DEBIAN_RELEASES[@]} ${UBUNTU_RELEASES[@]}; do
99
echo "Removing deb package of $release"
10+
reprepro -A i386 remove $release trivy
1011
reprepro -A amd64 remove $release trivy
1112
reprepro -A arm64 remove $release trivy
1213
done
1314

1415
for release in ${DEBIAN_RELEASES[@]} ${UBUNTU_RELEASES[@]}; do
1516
echo "Adding deb package to $release"
17+
reprepro includedeb $release ../../dist/*Linux-32bit.deb
1618
reprepro includedeb $release ../../dist/*Linux-64bit.deb
1719
reprepro includedeb $release ../../dist/*Linux-ARM64.deb
1820
done

goreleaser.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ builds:
1212
goos:
1313
- linux
1414
goarch:
15+
- 386
16+
- arm
1517
- amd64
1618
- arm64
1719
- s390x
@@ -31,6 +33,7 @@ builds:
3133
- freebsd
3234
goarch:
3335
# modernc.org/sqlite doesn't support freebsd/arm64, etc.
36+
- 386
3437
- amd64
3538
- id: build-macos
3639
main: cmd/trivy/main.go
@@ -60,6 +63,7 @@ builds:
6063
goos:
6164
- windows
6265
goarch:
66+
# modernc.org/sqlite doesn't support windows/386 and windows/arm, etc.
6367
- amd64
6468
goarm:
6569
- 7
@@ -88,6 +92,7 @@ nfpms:
8892
{{- else if eq .Os "dragonfly" }}DragonFlyBSD
8993
{{- else}}{{- title .Os }}{{ end }}-
9094
{{- if eq .Arch "amd64" }}64bit
95+
{{- else if eq .Arch "386" }}32bit
9196
{{- else if eq .Arch "arm" }}ARM
9297
{{- else if eq .Arch "arm64" }}ARM64
9398
{{- else if eq .Arch "ppc64le" }}PPC64LE
@@ -112,6 +117,7 @@ archives:
112117
{{- else if eq .Os "dragonfly" }}DragonFlyBSD
113118
{{- else}}{{- .Os }}{{ end }}-
114119
{{- if eq .Arch "amd64" }}64bit
120+
{{- else if eq .Arch "386" }}32bit
115121
{{- else if eq .Arch "arm" }}ARM
116122
{{- else if eq .Arch "arm64" }}ARM64
117123
{{- else if eq .Arch "ppc64le" }}PPC64LE

0 commit comments

Comments
 (0)