How to explicitely specify arch for the image
Currently arch matches the arch of the runner. This is great for x86_64 -> x86_64 or aarch64 to aarch64.
For native armv7 or i386 there needs to be binding to aarch64 or x86_64, because we lack old i386 or armv7 servers.
For some reasons cross-compilations isn't also the best option (not everything is that well supported, and it introduce another complexity to the CI solutions)
For riscv64 we will have servers, but at current phase isn't viable to run infrastructure on RISC-V, so using x86-64 is also better choice.
Current option is to use something like:
Build images:
FDO_BASE_IMAGE: "arm32v7/debian:$FDO_DISTRIBUTION_VERSION"
Use:
extends:
# - .fdo.distribution-image@debian
- .fdo.suffixed-image@debian # because ARMv7 & i386
but it isn't the best approach. After short discussion with @whot as a option would be introduce FDO_FORCE_ARCH
which would specify custom ARCH.