Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
648 stars 142 forks source link

Add support for multiple tags #98

Open pshirshov opened 7 years ago

pshirshov commented 7 years ago

Hi,

I wish to be able to set multiple tags per docker images produced by this tool.

Like

registry/branch/product:latest
registry/branch/product:v1.0.0
registry/product:branch

For now it's impossible to do it with this tool because it does support only one tag per image. Docker plugins for other build systems (sbt, maven) can set multiple tags though, so it would be great to see such a feature here.

KeithWilliamsGMIT commented 6 years ago

This looks like a duplicate of https://github.com/Transmode/gradle-docker/issues/50 where there are some suggested workarounds. But I agree that it is an important feature to have.