I want to build a docker image in a Build Pipeline and Pushing to ACR (Azure Container Registry) in a Release Pipeline. To me it makes the most sense to have those responsibilities distributed.
I have a Docker image building in a build pipeline and pushing it in the next task of that pipeline to the container registry - and trying to make an Artifact of just the image so I can use in a release pipeline instead of pushing in the build pipeline - but the artifact I get is all the source code from src directory - I have tried all the defaults- artifact directory etc
- Where is the image saved when task is build docker image?
- Can I make that my artifact to use in Release Pipeline?
- I want an version number now using :latest only thing that works
- Should I just make several builds like the one that is pushing successfully to push to staging and UAT?
- Any other suggested workflow for Azure Devops Docker Build and Publish?