Changing docker image tag names
[appc/deployment.git] / installation / appc / pom.xml
index 6ae535a..ee8242d 100644 (file)
@@ -5,21 +5,25 @@
        <parent>
                <groupId>org.openecomp.appc.deployment</groupId>
                <artifactId>installation</artifactId>
-               <version>1.0.0</version>
+               <version>1.0.0-SNAPSHOT</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
        <packaging>pom</packaging>
        <groupId>org.openecomp.appc.deployment</groupId>
        <artifactId>installation-appc</artifactId>
-       <version>1.0.0</version>
+       <version>1.0.0-SNAPSHOT</version>
 
        <name>Installation - APPC Docker</name>
        <description>Creates APPC Docker container on top of the SDNC Base Docker Image</description>
 
        <properties>
-               <image.name>ecomp/appc-image</image.name>
+               <image.name>openecomp/appc-image</image.name>
                <appc.version>${project.version}</appc.version>
+                <!--This version will be over-ridden by jenkins 
+                    injecting the version.properties variable file during docker build-->
+               <appc.docker.staging.version>0.0.1</appc.docker.staging.version>
+               <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
        </properties>
 
 
                                                                                <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
                                                                                <dockerFile>${basedir}/target/docker-stage/Dockerfile</dockerFile>
                                                                                <tags>
-                                                                                       <tag>${project.version}</tag>
+                                                                                       <tag>${appc.docker.staging.version}-STAGING-${maven.build.timestamp}</tag>
                                                                                        <tag>latest</tag> 
                                                                                </tags>
                                                                        </build>