We use the Gradle Artifactory Plugin to publish artifacts on our Artifactory server (see also these instructions ).
Now we have added tasks to our Gradle scripts to create Docker images, and we want to direct these images to our Artifactory (which we configured as a Docker repository).
I managed to do this with custom tasks, but I would really like to include this in our current workflow so that gradle artifactoryPublishit does this at the same time that it loads our other artifacts into the repository. The main advantage of this is that the publishing mechanism ensures that all modules are successfully created before being clicked, and I would like to take advantage of this.
Does anyone know what is the best way to connect docker pushto the task artifactoryPublishthat comes with the Artifactory Gradle plugin?
source
share