The docker task lets you specify a file pattern that will allow you to find multiple docker files. It locates the docker files, builds the images, and then... names them all the same thing? When pushed, you only end up with 1 docker image, because the other was just overwritten.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Any updates on this Issue
@jholovacs @Manojbhat-dot The task can be used to push a single image to multiple registries but cannot be used to push multiple images. It will pick the first dockerfile it can find in the path provided. I have updated the doc to reflect the same.
@msebolt Can we close this issue?