can't use image that has been built for multiple platforms
Hey I'm having trouble using in gitlab-ci an image that is built for multiple platforms.
When i have an image with the same tag that is used for multiple platforms and try to use it with:
docker buildx --platform <PLATFORM>
It isn't using the wanted image- in my case, arm and keeps on using an amd64.
We would appreciate if there was an option to create something like this in the gitlab-ci file:
image:
name: myimage
platform: linux/arm64/v8
This way we wont need to tag it explicitly and will be able to use CI_RUNNER_EXECUTABLE_ARCH env variable.
Thank you very much!