aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel <pawel.kasperkiewicz@nokia.com>2020-12-28 13:17:23 +0100
committerPawel <pawel.kasperkiewicz@nokia.com>2020-12-28 13:17:23 +0100
commitce537c0168cf141d630513f68a2919958276ad76 (patch)
treeefece2ba1dd09bcf18ecbdd34cb6bd4b03204987
parentb8323be62abee829c9d1a0a2e3529580a8977ada (diff)
Remove latest tag from docker push
Issue-ID: DCAEGEN2-2537 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: I7b551df882028c50c6af5274c9a0a20ce45f4414
-rw-r--r--pom.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index a308657d..a1d4d69c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -342,14 +342,13 @@
<images>
<image>
<alias>${project.artifactId}</alias>
- <name>${docker-image.namespace}/${docker-image.name}
+ <name>${docker-image.namespace}/${docker-image.name}:${project.version}
</name>
<registry>${docker-image.registry}</registry>
<build>
<dockerFileDir>${project.basedir}</dockerFileDir>
<tags>
<tag>${project.version}-${maven.build.timestamp}Z</tag>
- <tag>${project.version}</tag>
<tag>${docker-image.latest}</tag>
</tags>
</build>