Docker registry notifications multiple push

I’m using my own private Docker registry and I would like to send Slack notifications when a new image is pushed.

I used Huginn to catch registry webhook notifications and send to Slack. My issue is that Docker registry send multiple notifications when an image is pushed with same informations:

  • Docker does not auto update DNS server details in /etc/resolv.conf
  • Redis in Docker container with custom redis.conf file not attaching
  • Why is Docker not adding files to my container?
  • Docker: use file in local folder
  • Running Visual Studio Remote Debugger in Windows Container (Docker managed)
  • How can I have MySQL persist on CoreOS Updates?
  • "action": "push"

    How can I send only one notification from docker registry? Or differenciate the last notification?

  • update running docker container
  • Making a web server with Docker instances - What goes Where?
  • Docker Mysql container root password [mysqld listens port 0]
  • Store docker machine in D: drive rather than in C:\Users\… windows 7
  • How to debug seg fault in docker container?
  • cannot run container after commit changes
  • One Solution collect form web for “Docker registry notifications multiple push”

    I found the solution!

    I check only action == push and mediaType == application/vnd.docker.distribution.manifest.v2+json

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.