Azure-devops-docs: Docker task seems to overwrite itself when you have multiple dockerfiles

Created on 14 Nov 2019  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

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.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 devops-cictech devopprod doc-bug

All 3 comments

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?

Was this page helpful?
0 / 5 - 0 ratings