spotify / docker-maven-plugin

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

推送镜像至私服时,即使设置的imageTag,仍然会生成一个latest的tag,且两个tag的镜像id相同,如何设置才能覆盖latest的tag而只生成自己设置的tag呢 #432

Closed xiaofengczy closed 5 years ago

xiaofengczy commented 5 years ago

Description

推送镜像至私服时,即使设置的imageTag,仍然会生成一个latest的tag,且两个tag的镜像id相同,如何设置才能覆盖latest的tag而只生成自己设置的tag呢

设置: image

执行结果: image

生成镜像结果 image

liudc001 commented 5 years ago

do not use imageTags, you can do like this `

imageName:${project.version}

`

xiaofengczy commented 5 years ago
imageName:${project.version}

thank you