Open olkitu opened 1 year ago
This tools isn't published as a docker image.
But we could add arm64 binaries.
npm install -g gitlab-ci-local
will already give a pure arm64 native experience.
Yes but it use docker to run jobs and when use --platform
could run builds with different arch than host system (example use qemu). Example I build always arm64 and amd64 versions of images with Gitlab CI and like to use gitlab-ci-local to test jobs without having custom jon to run locally only.
I don't quite understand.... gitlab-ci-local isn't calling docker build during execution
Sorry, seems there is no issues when I made test project to build test image with arm64 and amd64: https://gitlab.com/olkitu/gitlab-ci-local-test . My test project build multi-arch image properly when set --platform inside of the container. Thank you for great project.
Maybe close this and open another issue just arm64 binaries only if like to have in repository?
Nah, leave it this open, I've renamed the issue..
https://github.com/firecow/gitlab-ci-local/actions/runs/9331763450/job/25686810204?pr=1243
I don't think we can get Github Actions to-do it either :smile:
Possible run multi-arch image to build example amd64 and arm64.
docker support this by using
--platform
attribute and this could be used in job level looking variableDOCKER_DEFAULT_PLATFORM
to override default one.