Docker image creation for ARM64 in Gitlab-CI

I’m starting to study kuberkets and for that I’m using the 4v core and 24gb RAM from Oracle Cloud to build my cluster, but my kubernets images are generated by CI/CD and are not compatible with the cluster due to architecture.

Has anyone here experienced the same problem and found a solution other than installing gitlab runner inside my cluster? My goal is to have an x86 and arm compatible image as the devs will use the x86 version for development.

Thank you in advance for the help.