In this quick tutorial, we will show you how to set up webhooks, as described in our CI/CD feature, on Docker Hub.

Step 1: Navigate to Webhooks

Let’s assume you already have an account at Docker Hub and set up a repository. Now, navigate to the webhooks tab of your repository.

Docker Hub only allows us to trigger actions when new images are pushed, so there is nothing to configure here.

Step 2: Create a New Webhook

Click on the link symbol or the plus sign to create a new webhook:

Then give the webhook a name of your choice. We’re using “webhook test” in this example. Paste the webhook URL you’ve copied from the sloppy.io Web UI, then save the new webhook.

Step 3: All Done

And that’s it. You’re set up. The next time you push an image to this repository it is automatically deployed on sloppy.io.

If you want to set up webhooks on quay.io, please follow this link.

Tags: hook



Did this answer your question?