In acb build command, the code always tries to prefix image tag with registry. However if the customer wants to build and push the image to another registry, the code unexpectedly alter the tag.
The change collects all known registries form the command option and skip the prefix if the tag already contains the registry.
Purpose of the PR
In
acb build
command, the code always tries to prefix image tag withregistry
. However if the customer wants to build and push the image to another registry, the code unexpectedly alter the tag.The change collects all known registries form the command option and skip the prefix if the tag already contains the registry.