Request for arm32 image builds

Hi,

(New users can only post with less than two links in the text, so some links are obfuscated.)

Container image builds for Linux arm32 have stopped being created. When I try to run a drone server on a 32bit Raspberry Pi it does not find a working image for the latest 2.13.0 tags, eg:

$ uname -a
Linux jasper 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l GNU/Linux
$
$ podman run docker .io/drone/drone:latest
Trying to pull docker .io/drone/drone:latest…
no image found in manifest list for architecture arm, variant “v7”, OS linux
Error: Error choosing an image from manifest list docker://drone/drone:latest: no image found in manifest list for architecture arm, variant “v7”, OS linux
$

After some searching I ran into the somewhat vague pull request that disabled them:

However it’s unclear why as you can still build the latest 2.13.0 version just fine. Following github. com/harness/drone/blob/master/.drone.yml and github. com/harness/drone/blob/master/scripts/build.sh:

$ podman run -it docker.io/golang:1.14.15
Trying to pull docker.io/library/golang:1.14.15...
Getting image source signatures
Copying blob 47cb22b67940 done  
Copying blob 589feef49f1b done  
Copying blob f165fa89fa38 done  
Copying blob 4c2a0a79594a done  
Copying blob 06c11c595f64 done  
Copying blob 5e90d4e143c0 done  
Copying blob b0977c6223cf done  
Copying config 62219402ad done  
Writing manifest to image destination
Storing signatures
root@4068c4220384:/go#
root@4068c4220384:/go# uname -a
Linux 15b3329e05a8 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l GNU/Linux
root@4068c4220384:/go# 
root@4068c4220384:/go# export GOARCH=arm
root@4068c4220384:/go# export GOOS=linux
root@4068c4220384:/go# export REPO=github.com/drone/drone
root@4068c4220384:/go# git clone https://github.com/harness/drone.git
Cloning into 'drone'...
remote: Enumerating objects: 33534, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 33534 (delta 1), reused 11 (delta 1), pack-reused 33523
Receiving objects: 100% (33534/33534), 28.09 MiB | 2.95 MiB/s, done.
Resolving deltas: 100% (18315/18315), done.
Checking out files: 100% (766/766), done.
root@4068c4220384:/go# cd drone
root@4068c4220384:/go/drone# 
root@4068c4220384:/go/drone# go build -ldflags "-extldflags \"-static\"" -o release/linux/${GOARCH}/drone-server ${REPO}/cmd/drone-server
go: downloading github.com/lib/pq v1.1.0
go: downloading github.com/drone/go-scm v1.24.0
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/oxtoacart/bpool v0.0.0-20150712133111-4e1c5567d7c2
go: downloading github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967
go: downloading github.com/drone/drone-go v1.7.2-0.20220308165842-f9e4fe31c2af
go: downloading github.com/drone/go-login v1.1.0
go: downloading github.com/kelseyhightower/envconfig v1.3.0
go: downloading github.com/jmoiron/sqlx v0.0.0-20180614180643-0dae4fefe7c0
go: downloading github.com/unrolled/secure v0.0.0-20181022170031-4b6b7cf51606
go: downloading github.com/go-chi/chi v3.3.3+incompatible
go: downloading github.com/coreos/go-semver v0.2.0
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/hashicorp/golang-lru v0.5.1
go: downloading github.com/go-sql-driver/mysql v1.4.0
go: downloading github.com/99designs/httpsignatures-go v0.0.0-20170731043157-88528bf4ca7e
go: downloading github.com/go-chi/cors v1.0.0
go: downloading github.com/drone/funcmap v0.0.0-20210823160631-9e9dec149056
go: downloading github.com/mattn/go-sqlite3 v1.9.0
go: downloading github.com/go-redis/redis v6.15.9+incompatible
go: downloading github.com/go-redsync/redsync/v4 v4.3.0
go: downloading github.com/drone/go-license v1.0.2
go: downloading github.com/gosimple/slug v1.3.0
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/joho/godotenv v1.3.0
go: downloading github.com/drone/drone-ui v2.8.2+incompatible
go: downloading github.com/drone/drone-yaml v1.2.4-0.20220204000225-01fb17858c9b
go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
go: downloading github.com/drone/drone-runtime v1.1.1-0.20200623162453-61e33e2cab5d
go: downloading github.com/hashicorp/go-retryablehttp v0.5.4
go: downloading github.com/google/go-jsonnet v0.17.0
go: downloading github.com/go-redis/redis/v8 v8.11.0
go: downloading github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9
go: downloading github.com/google/wire v0.2.1
go: downloading golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
go: downloading github.com/docker/engine v17.12.0-ce-rc1.0.20200309214505-aa6a9891b09c+incompatible
go: downloading github.com/drone/envsubst v1.0.3-0.20200709231038-aa43e1c1a629
go: downloading github.com/aws/aws-sdk-go v1.37.3
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading go.starlark.net v0.0.0-20201118183435-e55f603d8c79
go: downloading github.com/bmatcuk/doublestar v1.1.1
go: downloading github.com/buildkite/yaml v2.1.0+incompatible
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/Azure/azure-storage-blob-go v0.7.0
go: downloading github.com/hashicorp/go-multierror v1.1.0
go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f
go: downloading github.com/drone/signal v1.0.0
go: downloading github.com/segmentio/ksuid v1.0.2
go: downloading golang.org/x/sys v0.0.0-20210112080510-489259a85091
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/asaskevich/govalidator v0.0.0-20180315120708-ccb8e960c48f
go: downloading github.com/rainycape/unidecode v0.0.0-20150907023854-cb7f23ec59be
go: downloading github.com/prometheus/client_golang v0.9.2
go: downloading google.golang.org/grpc v1.30.0
go: downloading golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/vinzenz/yaml v0.0.0-20170920082545-91409cdd725d
go: downloading github.com/containerd/containerd v1.3.4
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/docker/go-connections v0.3.0
go: downloading github.com/Azure/azure-pipeline-go v0.2.1
go: downloading github.com/prometheus/common v0.0.0-20181126121408-4724e9255275
go: downloading github.com/natessilva/dag v0.0.0-20180124060714-7194b8dcc5c4
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149
go: downloading github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: downloading github.com/golang/protobuf v1.4.2
go: downloading google.golang.org/protobuf v1.23.0
go: downloading github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a
go: downloading github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
go: downloading github.com/dchest/authcookie v0.0.0-20120917135355-fbdef6e99866
go: downloading github.com/gogo/protobuf v0.0.0-20170307180453-100ba4e88506
go: downloading golang.org/x/text v0.3.3
go: downloading google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/docker/go-units v0.3.3
go: downloading github.com/jmespath/go-jmespath v0.4.0
# github.com/drone/drone/cmd/drone-server
>/usr/bin/ld: /tmp/go-link-709654572/000010.o: in function `unixDlOpen':
/go/pkg/mod/github.com/mattn/go-sqlite3@v1.9.0/sqlite3-binding.c:37945: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-709654572/000018.o: in function `mygetgrouplist':
/usr/local/go/src/os/user/getgrouplist_unix.go:16: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-709654572/000017.o: in function `mygetgrgid_r':
/usr/local/go/src/os/user/cgo_lookup_unix.go:38: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-709654572/000017.o: in function `mygetgrnam_r':
/usr/local/go/src/os/user/cgo_lookup_unix.go:43: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-709654572/000017.o: in function `mygetpwnam_r':
/usr/local/go/src/os/user/cgo_lookup_unix.go:33: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-709654572/000017.o: in function `mygetpwuid_r':
/usr/local/go/src/os/user/cgo_lookup_unix.go:28: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: /tmp/go-link-709654572/000015.o: in function `_cgo_26061493d47f_C2func_getaddrinfo':
/tmp/go-build/cgo-gcc-prolog:57: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
root@4068c4220384:/go/drone#
root@4068c4220384:/go/drone# ./release/linux/arm/drone-server 
{"level":"fatal","msg":"main: source code management system not configured","time":"2022-10-17T10:29:18Z"}
root@4068c4220384:/go/drone#
type or paste code here

Any idea why it was disabled and can it be re-enabled as it’s a bit of pain for everyone having to build it themselves.

Kind Regards
Tom