cuber-gem
cuber-gem copied to clipboard
Support for docker buildx
Hello 👋
Today, the default way of building images using docker is to use buildx where you need to add the --load flag to the build command if you want to be able run docker push after that. Here are the last line of running a quickstart on a sample repo using a fresh install of docker version 25.
#8 DONE 3.0s
#9 [5/5] COPY . .
#9 DONE 0.2s
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
-----> Pushing image to Docker registry
The push refers to repository [harbor.XXX.com/library/mtracker]
An image does not exist locally with the tag: harbor.XXX.com/library/mtracker
Cuber: docker push failed
I use Docker Desktop (engine v27) on MacOS and I cannot reproduce the issue that you describe... It works properly.
Also note that based on documentation there isn't any --load flag for the docker build command.
Can you describe your scenario more precisely and send a pull request?