gradle-docker icon indicating copy to clipboard operation
gradle-docker copied to clipboard

Separate Docker build/publish actions

Open sgoings opened this issue 10 years ago • 1 comments

Today: Right now the Docker task publishes to the registry depending on a boolean which can be configured per task. This conflation of task responsibility seems to go against the Docker and Gradle way of handling artifact publishing (where there are separate tasks for building and publishing).

The Future: I'd like to get your ideas on what you have in your minds for improving the workflow of Docker image build/publishing... I think it would be neat to wrangle the Docker publishing under the same (or similar) DSL that Gradle provides for artifact publishing (Maven/Ivy).

sgoings avatar Aug 14 '14 20:08 sgoings

Agreed! Not sure yet how docker publishing aligns with gradle's publishing APIs. But a seperation of build and publish is necessary independent of how the publish will look like in the end. Not sure if I manage to squeeze it into the upcoming 1.3 release.

mattgruter avatar Nov 28 '14 15:11 mattgruter