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
I believe the <registry> tag is ignored when using <buildx>. Below are 2 separate configurations, the former attempts to uplaod to dockerhub, the latter successfully pushes to my private registry.
This tag allows buildx to upload to my own repository. I suppose all I can expect here is for the to be sneakily prefixed onto the tag during a buildx build, if present.
I've got it working, but just figure this would be a nice bit of syntactic sugar for people converting from non buildx builds to buildx builds.
Cheers
The text was updated successfully, but these errors were encountered:
I believe the
<registry>
tag is ignored when using<buildx>
. Below are 2 separate configurations, the former attempts to uplaod to dockerhub, the latter successfully pushes to my private registry.This setup attempts to push to dockerhub.
Using the push phase, this is the command that is generated:
However if i instead prefix the image name with the registry, buildx respects it:
This setup generates the following buildx command, which does what i want it to do (e.g. push to my own registry).
This tag allows buildx to upload to my own repository. I suppose all I can expect here is for the to be sneakily prefixed onto the tag during a buildx build, if present.
I've got it working, but just figure this would be a nice bit of syntactic sugar for people converting from non buildx builds to buildx builds.
Cheers
The text was updated successfully, but these errors were encountered: