get Deployment status with a custom linux image on Azure App Service

Beebz 1 Reputation point
2021-08-06T11:05:42.01+00:00

I'm using a custom linux image on Azure App Service to deploy my web app. Using a pipeline in gitlab I execute the following:

docker login -u "$AZURE_CI_REGISTRY_USER" -p "$AZURE_CI_REGISTRY_PASSWORD" $AZURE_CI_REGISTRY

docker pull "mine.azurecr.io/samples/base:latest"
docker build . -t "$AZURE_MINE_CI_REGISTRY_IMAGE:testing" --pull --cache-from "$AZURE_MINE_CI_REGISTRY_IMAGE:testing"
docker push "$AZURE_MINE_CI_REGISTRY_IMAGE:testing"

In azure dashboard > container settings, i set "Continuous Deployment" to On.

It works well, but I need to know when the container is up and running from gitlab after pushing the docker image so i can use the status (fail/success) for current job.

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 19,491 Reputation points Moderator
    2021-08-11T23:23:32.183+00:00

    Hi @Beebz ,

    Apologies for the delay in response. if I understand your question, you're trying to get a notification in the azure portal when your linux container is up and running? is that correct?

    You should get a notification on the right corner of your Azure portal once your container is running and view other activities on your web app. see image below.

    122419-notification.png

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.