You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my workflow I usually have a step between build and push, in which I run some tests on the image (often in the form of a tarball or local image), when I use 'standard docker' I just load the image locally and test it that way, but when doing multi platform builds, that is a bit more of an issue, seeing I cant import multi-arch images(?).
What I figured would be the best way to do this is to export the image to tar or OCI-tar and then run the tests on that, and when tests are done, import the tarball and push it to docker. Here comes my issue: I can't for the life of me figure out how to load the tarball and then tag and push it to my registries...
Is there any documentation on this? Is it even possible?
I know that the docker image load and docker image import commands exist, but neither of those seem to support multi-arch images as of right now.
The text was updated successfully, but these errors were encountered:
Yes, in 19.03 docker load does not support loading multi-arch images. You either need to use a local registry or build a single-arch image for your local steps that you can later merge to multi-arch in registry with buildx imagetools create
In my workflow I usually have a step between build and push, in which I run some tests on the image (often in the form of a tarball or local image), when I use 'standard docker' I just load the image locally and test it that way, but when doing multi platform builds, that is a bit more of an issue, seeing I cant import multi-arch images(?).
What I figured would be the best way to do this is to export the image to tar or OCI-tar and then run the tests on that, and when tests are done, import the tarball and push it to docker. Here comes my issue: I can't for the life of me figure out how to load the tarball and then tag and push it to my registries...
Is there any documentation on this? Is it even possible?
I know that the
docker image load
anddocker image import
commands exist, but neither of those seem to support multi-arch images as of right now.The text was updated successfully, but these errors were encountered: