aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Closset <cc697w@intl.att.com>2017-03-08 14:34:12 +0000
committerGerrit Code Review <gerrit@openecomp.org>2017-03-08 14:34:12 +0000
commit78cb324780f4ca44238d14f84592edfd57999898 (patch)
tree6c4ac5e04cd99e84d63f34271153dd31ce89ca9a
parentae554f6f41116f5ced2064469cb8ebe76cd0e87a (diff)
parentc3f8ddfdd3b34551bf4f7424163fc0fd1a94e468 (diff)
Merge "Adding tagging to our staging images"
-rw-r--r--packages/docker/pom.xml8
-rw-r--r--pom.xml1
2 files changed, 7 insertions, 2 deletions
diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml
index 6ca79b7..4bad970 100644
--- a/packages/docker/pom.xml
+++ b/packages/docker/pom.xml
@@ -109,7 +109,9 @@
<name>openecomp/mso-arquillian:%l</name>
<alias>mso-arquillian</alias>
<build>
-
+ <tags>
+ <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
+ </tags>
<cleanup>try</cleanup>
<dockerFileDir>docker-files</dockerFileDir>
<dockerFile>docker-files/Dockerfile.mso-arquillian</dockerFile>
@@ -120,7 +122,9 @@
<name>openecomp/mso:%l</name>
<alias>mso</alias>
<build>
-
+ <tags>
+ <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
+ </tags>
<cleanup>try</cleanup>
<dockerFileDir>docker-files</dockerFileDir>
<dockerFile>docker-files/Dockerfile.mso-chef-final</dockerFile>
diff --git a/pom.xml b/pom.xml
index 155debb..348a233 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,6 +42,7 @@
<nexusproxy>https://nexus.openecomp.org</nexusproxy>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
<releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
</properties>
<distributionManagement>
<repository>