Repository Notifications

Quay supports adding notifications to a repository for various events that occur during the repository lifecycle, such as when a new image is pushed or a tag is deleted.

Creating a Push-to-Repository Event Notification

  • From the Red Hat Quay Dashboard, navigate to the olleb/kafka repository. Recall from 2.2 Quay Repositories that we previously created and pushed a strimzi/kafka image.

  • Click Settings.

  • Click the + Create Notification button.

notifbutton
  • In the When this event occurs drop-down menu, select Push to Repository.

event list
  • Under the Then issue a notification drop-down menu, select Red Hat Quay Notification.

notification actions
  • In the Recipient drop-down menu, select owners.

  • In the Notification title text field, enter A new image has been pushed into the repository.

notifications all
  • Click Create Notification.

Push a new image or add a new tag to the existing one in the repository.

podman pull quay.io/strimzi/kafka:latest-kafka-3.0.0
podman tag quay.io/strimzi/kafka:latest-kafka-3.0.0 ${QUAY_HOSTNAME}/olleb/kafka:3.0.0
# Log in if you are not already authenticated
podman login ${QUAY_HOSTNAME}
podman push ${QUAY_HOSTNAME}/olleb/kafka:3.0.0

After a few moments, a notification will appear at the top of the dashboard indicating that a new image has been pushed to the repository.

notification
notifications