Release docker image of AAF to nexus
[aaf/authz.git] / authz-service / pom.xml
index ad7ebd4..bb26872 100644 (file)
           </execution> \r
 \r
           <execution>\r
-            <id>tag-image-latest-timestamp</id>\r
+            <id>tag-image-project-version</id>\r
             <phase>package</phase>\r
             <goals>\r
               <goal>tag</goal>\r
             </goals>\r
             <configuration>\r
               <image>onap/aaf/authz-service</image>\r
-              <newName>onap/aaf/authz-service:${project.docker.latesttagtimestamp.version}</newName>\r
+              <newName>onap/aaf/authz-service:${project.version}</newName>\r
               <skipDockerTag>${skip.docker.push}</skipDockerTag>\r
             </configuration>\r
           </execution>\r
-          <execution>\r
-            <id>push-image-latest-timestamp</id>\r
-            <phase>deploy</phase>\r
-            <goals>\r
-              <goal>push</goal>\r
-            </goals>\r
-            <configuration>\r
-              <imageName>onap/aaf/authz-service:${project.docker.latesttagtimestamp.version}</imageName>\r
-              <skipDockerPush>${skip.docker.push}</skipDockerPush>\r
-            </configuration>\r
-          </execution>\r
-          <execution>\r
+                 \r
+                 <execution>\r
             <id>tag-image-latest</id>\r
             <phase>package</phase>\r
             <goals>\r
             </goals>\r
             <configuration>\r
               <image>onap/aaf/authz-service</image>\r
-              <newName>onap/aaf/authz-service:${project.docker.latesttag.version}</newName>\r
+              <newName>onap/aaf/authz-service:latest</newName>\r
               <skipDockerTag>${skip.docker.push}</skipDockerTag>\r
             </configuration>\r
           </execution>\r
-          <execution>\r
+          \r
+         <execution>\r
             <id>push-image-latest</id>\r
             <phase>deploy</phase>\r
             <goals>\r
               <goal>push</goal>\r
             </goals>\r
             <configuration>\r
-              <imageName>onap/aaf/authz-service:${project.docker.latesttag.version}</imageName>\r
+              <imageName>onap/aaf/authz-service:${project.version}</imageName>\r
               <skipDockerPush>${skip.docker.push}</skipDockerPush>\r
             </configuration>\r
           </execution>\r
-          <execution>\r
-            <id>tag-image</id>\r
-            <phase>package</phase>\r
-            <goals>\r
-              <goal>tag</goal>\r
-            </goals>\r
-            <configuration>\r
-              <image>onap/aaf/authz-service</image>\r
-              <newName>onap/aaf/authz-service:latest</newName>\r
-              <skipDockerTag>${skip.docker.push}</skipDockerTag>\r
-            </configuration>\r
-          </execution>\r
+          \r
           <execution>\r
             <id>push-image</id>\r
             <phase>deploy</phase>\r