[RTFACT-15965] Support for the "docker push" command as a transaction. Created: 25/Feb/18  Updated: 25/Feb/18

Status: Open
Project: Artifactory Binary Repository
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Normal
Reporter: Marek Cwynar Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: docker, plugin, webhook


 Description   

Currently, the execution of one "docker push" command on the Docker client side is distributed on the Artifactory side for several operations. First, layers of images are loaded, then the manifest is loaded and finally labels with dockerfile are loaded as properties. The order of these operations is variable, depending on the Dockerfile content. For this reason, it is currently not possible to implement a plugin that, for example, would support the upload of the Docker image to the DTR in Artifactory. There is no event that would trigger execution of such a plugin.

It is necessary to create a special event, a transaction completion flag or any other mechanism that will enable the development of a user plugin to handle the event of introducing a new image to the DTR.
Such a plugin in our institution is necessary to check the correctness of image delivery by external providers (for example using Xray) and to free the webhook for further image processing.


Generated at Thu Jul 18 15:50:24 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.