Docker Community Forums

Share and learn in the Docker community.

Unable to retrieve tag from notification service


(Eric Robinson) #1

All,
I am currently using the notification service for Docker Registry v2. The issue is I am not seeing the tag of the image being pushed in the json payload. Is this feature available in registry2.1.1?

Note: It was mentioned/shown here: https://github.com/docker/distribution/pull/113

“events”: [

  • {
  • “uuid”: “asdf-asdf-asdf-asdf-0”,
  • “timestamp”: “2006-01-02T15:04:05Z”,
  • “action”: “push”,
  • “target”: {
  • “type”: “manifest”,
  • “name”: “library/test”,
  • “digest”: “sha256:0123456789abcdef0”,
  • “tag”: “latest”,
  • “url”: “http://example.com/v2/library/test/manifests/latest
  • },
  • “actor”: {
  • “name”: “test-actor”,
  • “addr”: “hostname.local”
  • },
  • “source”: {
  • “addr”: “hostname.local”,
  • “host”: “registrycluster.local”,
  • “request_id”: “asdfasdf”
  • }
  • },