Continuous deployment with Web App for Containers
Sign in to Azure
Sign in to the Azure portal.
Enable the continuous deployment feature
Enable the continuous deployment feature by using Azure CLI and executing the following command:
az webapp deployment container config --name name --resource-group myResourceGroup --enable-cd true
In the Azure portal, select the App Service option on the left side of the page.
Select the name of the app for which you want to configure Docker Hub continuous deployment.
On the Container Settings page, select On, and then select Save to enable continuous deployment.
Prepare the webhook URL
Obtain the webhook URL by using Azure CLI and executing the following command:
az webapp deployment container show-cd-url --name sname1 --resource-group rgname
Make a note of the webhook URL. You'll need it in the next section.
You can obtain your
publishingpwd by downloading the web app publish profile using the Azure portal.
Add a webhook
To add a webhook, follow the steps in these guides: