What is the problem this feature will solve?
The build-multi-arch-image is designed to build images targeting multi-architecture clusters. However, the images currently loaded into the cluster are single-architecture only. As a result, in mixed-architecture clusters, nodes may pull images that do not match their architecture, leading to unexpected behavior.
If you have solution,please describe it
To address this, I propose introducing a flag such as --multi-arch or --save-multi-arch to allow saving multi-architecture images at build time, it call into sreg and use copy.CopyAllImages to save images.
I’ve done some preliminary work in this area:
What alternatives have you considered?
No response
What is the problem this feature will solve?
The build-multi-arch-image is designed to build images targeting multi-architecture clusters. However, the images currently loaded into the cluster are single-architecture only. As a result, in mixed-architecture clusters, nodes may pull images that do not match their architecture, leading to unexpected behavior.
If you have solution,please describe it
To address this, I propose introducing a flag such as
--multi-archor--save-multi-archto allow saving multi-architecture images at build time, it call into sreg and usecopy.CopyAllImagesto save images.I’ve done some preliminary work in this area:
main...cnfatal:sealos:main
labring-sigs/sreg@main...cnfatal:sreg:main
What alternatives have you considered?
No response