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 compose: is it possible to mount a local file to a remote daemon?
  • Attempting to use docker-client from Spotify and am getting various errors
  • How to get my hdfs docker client running?
  • How do I upgrade my Azure WordPress + MySQL Ubuntu 16.04 docker from PHP5.6 to PHP7?
  • Pre Configured Environment variables in Jenkins
  • docker commit running container
  • "action": "push"

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

  • How one should use jenkinsci/jnlp-slave for complex builds?
  • Not able to copy file from docker container to host
  • Increase Disk Space on Docker Toolbox
  • Docker how to inject host ENV into Dockerfile ENV during build?
  • dokcer-compose mysql container denies access to wordpress container
  • Best place to install antivirus with docker
  • 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.