spotify / docker-maven-plugin

INACTIVE: A maven plugin for Docker
Apache License 2.0
2.66k stars 575 forks source link

Remove all tags #386

Closed davidxia closed 6 years ago

davidxia commented 6 years ago

Related to issue #179. This adds support for specifying -DremoveTags="*" to remove all tags of a given image, and includes an IT project. The primary use case for this is to run mvn docker:removeImage -DdockerImageTags="*" at the end of a CI build to ensure that an image which failed validation and thus wasn't published to the registry is not unwittingly exposed to subsequent builds on

Rebased version of https://github.com/spotify/docker-maven-plugin/pull/228