I have an Azure release pipeline that uses an Azure Web App for Containers
task to deploy a docker image on an Azure App Service.
The image is specified in the form of some_image:$(Build.BuildId)
. The pipeline works as intended and successfully updates the App Service with the latest built of the image.
I want from an other release pipeline to execute a docker run
command using that image. I've noticed that version 1 of the Docker
task allows me to execute such a docker run
command on a docker image (no idea why run is missing from version 2), but how can I specify the docker image? How can I get which image is the currently deployed on that App Service?