From 84a7d4e884bf2e1f6bdcaa74ee285e0437d80a68 Mon Sep 17 00:00:00 2001 From: AMF Date: Wed, 7 Jun 2023 22:24:58 +0600 Subject: [PATCH 1/2] ci: exclude goarch 386 --- goreleaser.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/goreleaser.yml b/goreleaser.yml index dbdf26f7606..5f6cc7690da 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -16,7 +16,6 @@ builds: - windows goarch: - amd64 - - 386 - arm - arm64 - s390x @@ -24,15 +23,11 @@ builds: goarm: - 7 ignore: - - goos: darwin - goarch: 386 # modernc.org/sqlite doesn't support the following pairs - goos: freebsd goarch: arm - goos: freebsd goarch: arm64 - - goos: windows - goarch: 386 - goos: windows goarch: arm - goos: windows @@ -66,7 +61,6 @@ nfpms: {{- else if eq .Os "dragonfly" }}DragonFlyBSD {{- else}}{{- title .Os }}{{ end }}- {{- if eq .Arch "amd64" }}64bit - {{- else if eq .Arch "386" }}32bit {{- else if eq .Arch "arm" }}ARM {{- else if eq .Arch "arm64" }}ARM64 {{- else if eq .Arch "ppc64le" }}PPC64LE @@ -91,7 +85,6 @@ archives: {{- else if eq .Os "dragonfly" }}DragonFlyBSD {{- else}}{{- .Os }}{{ end }}- {{- if eq .Arch "amd64" }}64bit - {{- else if eq .Arch "386" }}32bit {{- else if eq .Arch "arm" }}ARM {{- else if eq .Arch "arm64" }}ARM64 {{- else if eq .Arch "ppc64le" }}PPC64LE From 65ee310b70d139158356e8a11a7e9840496bb258 Mon Sep 17 00:00:00 2001 From: AMF Date: Thu, 8 Jun 2023 15:29:14 +0600 Subject: [PATCH 2/2] remove x32 from dep deploy --- ci/deploy-deb.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/ci/deploy-deb.sh b/ci/deploy-deb.sh index eff70015621..1ddd68a7ee9 100755 --- a/ci/deploy-deb.sh +++ b/ci/deploy-deb.sh @@ -7,7 +7,6 @@ cd trivy-repo/deb for release in ${DEBIAN_RELEASES[@]} ${UBUNTU_RELEASES[@]}; do echo "Removing deb package of $release" - reprepro -A i386 remove $release trivy reprepro -A amd64 remove $release trivy reprepro -A arm64 remove $release trivy done @@ -15,7 +14,6 @@ done for release in ${DEBIAN_RELEASES[@]} ${UBUNTU_RELEASES[@]}; do echo "Adding deb package to $release" reprepro includedeb $release ../../dist/*Linux-64bit.deb - reprepro includedeb $release ../../dist/*Linux-32bit.deb reprepro includedeb $release ../../dist/*Linux-ARM64.deb done