summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ms/neng/pom.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/ms/neng/pom.xml b/ms/neng/pom.xml
index 81c1e668..780bb07b 100644
--- a/ms/neng/pom.xml
+++ b/ms/neng/pom.xml
@@ -59,6 +59,8 @@
<docker.verbose>true</docker.verbose>
<ccsdk.project.version>${project.version}</ccsdk.project.version>
<image.name>onap/ccsdk-apps-ms-neng</image.name>
+ <timestamp>${maven.build.timestamp}</timestamp>
+ <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
</properties>
<profiles>
@@ -147,7 +149,7 @@
<goals>
<goal>copy-resources</goal>
</goals>
- <phase>validate</phase>
+ <phase>package</phase>
<configuration>
<outputDirectory>${basedir}/target/docker-stage</outputDirectory>
<resources>
@@ -199,6 +201,7 @@
<tags>
<tag>${project.version}</tag>
<tag>${project.docker.latesttag.version}</tag>
+ <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
</tags>
</build>
</image>
@@ -634,4 +637,5 @@
</plugins>
</pluginManagement>
</build>
-</project> \ No newline at end of file
+</project>
+