Trying to find a Gradle plugin that pushes Docker images into Artifactory (docker registry) via the “new” publishing mechanism

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Trying to find a Gradle plugin that pushes Docker images into Artifactory (docker registry) via the “new” publishing mechanism

stefan

We are using the Gradle Artifactory Plugin (<a href="https://www.jfrog.com/confluence/display/RTF/Gradle&#43;Artifactory&#43;Plugin" id="LPlnk694088">https://www.jfrog.com/confluence/display/RTF/Gradle+Artifactory+Plugin) to publish artifacts into our Artifactory server (see also these instructions: <a href="https://www.jfrog.com/confluence/display/RTF/Working&#43;with&#43;Gradle" id="LPlnk478774">https://www.jfrog.com/confluence/display/RTF/Working+with+Gradle).

Now we have added tasks into our Gradle scripts to build Docker images and we want to push these images into our Artifactory (which we have configured as a Docker repository).

I've managed to do this using custom tasks but I would really like to plug this into our current workflow so that gradle artifactoryPublish does this at the same time that it uploads our other artifacts into the repository. The main benefit of doing this would be that the publishing mechanism makes sure that all modules build successfully before pushing and I would like to tap into that.

In other words, I'm looking for a Docker plugin that supports pushing to a Docker repository via the "new" publishing mechanism in Gradle (https://docs.gradle.org/current/userguide/publishing_maven.html).

Disclaimer: I asked this question already on stackoverflow.com if someone want's good karma there you can answer the question there of course: http://stackoverflow.com/questions/36849029/pushing-a-docker-image-into-artifactory-via-the-publishing-mechanism-in-gradle


Kind regards, Stefan Freyr


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users