summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--distribution/pom.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 710626b9..3a3fc0dc 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -35,6 +35,7 @@
<linux64outputdir>target/assembly/${linux64id}</linux64outputdir>
<win64outputdir>target/assembly/${win64id}</win64outputdir>
<version.output>target/version</version.output>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
</properties>
<build>
@@ -268,7 +269,9 @@
<dockerFileDir>${basedir}/${version.output}</dockerFileDir>
<dockerFile>${basedir}/target/version/Dockerfile</dockerFile>
<tags>
- <tag>${project.version}-STAGING-latest</tag>
+ <tag>${project.version}</tag>
+ <tag>${project.version}-${maven.build.timestamp}</tag>
+ <tag>${project.docker.latesttag.version}</tag>
</tags>
</build>
</image>