You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-registry/container-registry-webhook.md
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -15,20 +15,20 @@ ms.author: nepeters
15
15
16
16
An Azure container registry stores and manages private Docker container images, similar to the way Docker Hub stores public Docker images. You can use webhooks to trigger events when certain actions take place in one of your registry repositories. Webhooks can respond to events at the registry level, or they can be scoped down to a specific repository tag.
17
17
18
+
For webhook request schema reference, see [Azure Container Registry schema reference](container-registry-webhook-reference.md)
19
+
18
20
## Prerequisites
19
21
20
22
* Azure container registry - Create a container registry in your Azure subscription. For example, use the [Azure portal](container-registry-get-started-portal.md) or the [Azure CLI](container-registry-get-started-azure-cli.md).
21
23
* Docker CLI - To set up your local computer as a Docker host and access the Docker CLI commands, install [Docker Engine](https://docs.docker.com/engine/installation/).
22
24
23
25
## Create webhook Azure portal
24
26
25
-
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to the registry in which you want to create webhooks.
26
-
27
-
2. In the container blade, select **Webhooks** under **SERVICES**.
28
-
29
-
3. Select **Add** in the webhook blade toolbar.
30
-
31
-
4. Complete the *Create webhook* form with the following information:
27
+
1. Sign in to the [Azure portal](https://portal.azure.com)
28
+
1. Navigate to the container registry in which you want to create a webhook.
29
+
1. Under **SERVICES**, select **Webhooks**.
30
+
1. Select **Add** in the webhook toolbar.
31
+
1. Complete the *Create webhook* form with the following information:
Prior to using the webhook on container image push and delete actions, you can test it with the **Ping** button. Ping sends a generic POST request to the specified endpoint and logs the response. This can help you verify you've correctly configured the webhook.
58
+
Prior to using the webhook on container image push and delete actions, you can test it with the **Ping** button. Ping sends a generic POST request to the specified endpoint and logs the response. Using the ping feature can help you verify you've correctly configured the webhook.
59
59
60
60
1. Select the webhook you want to test.
61
61
2. In the top toolbar, select **Ping**.
@@ -88,3 +88,7 @@ Each webhook can be deleted by selecting the webhook and then the **Delete** but
88
88
```azurecli-interactive
89
89
az acr webhook delete --registry mycontainerregistry --name myacrwebhook01
0 commit comments