mirror of https://github.com/docker/docs.git
Clarify the webhook's definiton in webhooks.md (#6243)
* Clarify the webhook's definiton in webhooks.md Here is necessary to clarify the real definition of webhook which is a request with POST action to a specified url ( when this happen, the url going to return the result, in this context, is when we do 'docker push' to submit a image to registry, it fires the automatically build * Updated after suggest I updated the right sentence, I feel it more clear now. thank you :) * Remove duplicate wording
This commit is contained in:
parent
c376f5d358
commit
71471c54a4
|
@ -6,15 +6,15 @@ title: Webhooks for automated builds
|
|||
|
||||
If you have an automated build repository in Docker Hub, you can use Webhooks to
|
||||
cause an action in another application in response to an event in the
|
||||
repository. Docker Hub webhooks fire when an image is built in, or a new tag
|
||||
repository. Webhook is a POST request sent to a defined URL which provides the service. Docker Hub webhooks fire when an image is built in, or a new tag
|
||||
is added to, your automated build repository.
|
||||
|
||||
Configure webhooks on `https://hub.docker.com/r/<USERNAME>/<REPOSITORY>/~/settings/webhooks/`.
|
||||
|
||||

|
||||
|
||||
With your webhook, you specify a target URL to POST to. Docker Hub POSTs
|
||||
the URL with the following payload:
|
||||
With your webhook, you specify a target URL to POST to. Docker Hub POSTs the URL
|
||||
with the following payload:
|
||||
|
||||
```json
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue