Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Signed-off-by: Sven Dowideit <SvenDowideit@docker.com>
| ... | ... |
@@ -278,6 +278,10 @@ Webhooks are available under the Settings menu of each Repository. |
| 278 | 278 |
> **Note:** If you want to test your webhook out we recommend using |
| 279 | 279 |
> a tool like [requestb.in](http://requestb.in/). |
| 280 | 280 |
|
| 281 |
+> **Note**: The Docker Hub servers are currently in the IP range |
|
| 282 |
+> `162.242.195.64 - 162.242.195.127`, so you can restrict your webhooks to |
|
| 283 |
+> accept webhook requests from that set of IP addresses. |
|
| 284 |
+ |
|
| 281 | 285 |
### Webhook chains |
| 282 | 286 |
|
| 283 | 287 |
Webhook chains allow you to chain calls to multiple services. For example, |
| ... | ... |
@@ -105,9 +105,6 @@ Settings page. A webhook is called only after a successful `push` is |
| 105 | 105 |
made. The webhook calls are HTTP POST requests with a JSON payload |
| 106 | 106 |
similar to the example shown below. |
| 107 | 107 |
|
| 108 |
-> **Note:** For testing, you can try an HTTP request tool like |
|
| 109 |
-> [requestb.in](http://requestb.in/). |
|
| 110 |
- |
|
| 111 | 108 |
*Example webhook JSON payload:* |
| 112 | 109 |
|
| 113 | 110 |
``` |
| ... | ... |
@@ -141,6 +138,13 @@ new updates to your images and repositories. To get started adding webhooks, |
| 141 | 141 |
go to the desired repo in the Hub, and click "Webhooks" under the "Settings" |
| 142 | 142 |
box. |
| 143 | 143 |
|
| 144 |
+> **Note:** For testing, you can try an HTTP request tool like |
|
| 145 |
+> [requestb.in](http://requestb.in/). |
|
| 146 |
+ |
|
| 147 |
+> **Note**: The Docker Hub servers are currently in the IP range |
|
| 148 |
+> `162.242.195.64 - 162.242.195.127`, so you can restrict your webhooks to |
|
| 149 |
+> accept webhook requests from that set of IP addresses. |
|
| 150 |
+ |
|
| 144 | 151 |
### Webhook chains |
| 145 | 152 |
|
| 146 | 153 |
Webhook chains allow you to chain calls to multiple services. For example, |