Azure / acr-builder

Azure Container Registry Build Runner
MIT License
38 stars 35 forks source link

fix mis-prefix custom registry image tag in build #556

Closed northtyphoon closed 4 years ago

northtyphoon commented 4 years ago

Purpose of the PR

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.