summaryrefslogtreecommitdiffstats
path: root/authz-service/pom.xml
diff options
context:
space:
mode:
authorsg481n <sg481n@att.com>2017-09-24 23:08:44 +0000
committersg481n <sg481n@att.com>2017-09-24 23:08:51 +0000
commit0492cd0ee5e58ca2ea0a9921d93c1a7660838e27 (patch)
tree8f3e776ed99e390b1523e419d3fafb39afe5efdd /authz-service/pom.xml
parentcd57764b31777830a2dd2d35ee063b5ea5c30cc3 (diff)
Release docker image of AAF to nexus
Issue-id: AAF-59 Change-Id: I659ac1ecd26694720d58a717364fb446dc897550 Signed-off-by: sg481n <sg481n@att.com>
Diffstat (limited to 'authz-service/pom.xml')
-rw-r--r--authz-service/pom.xml38
1 files changed, 9 insertions, 29 deletions
diff --git a/authz-service/pom.xml b/authz-service/pom.xml
index ad7ebd4a..bb268726 100644
--- a/authz-service/pom.xml
+++ b/authz-service/pom.xml
@@ -199,29 +199,19 @@
</execution>
<execution>
- <id>tag-image-latest-timestamp</id>
+ <id>tag-image-project-version</id>
<phase>package</phase>
<goals>
<goal>tag</goal>
</goals>
<configuration>
<image>onap/aaf/authz-service</image>
- <newName>onap/aaf/authz-service:${project.docker.latesttagtimestamp.version}</newName>
+ <newName>onap/aaf/authz-service:${project.version}</newName>
<skipDockerTag>${skip.docker.push}</skipDockerTag>
</configuration>
</execution>
- <execution>
- <id>push-image-latest-timestamp</id>
- <phase>deploy</phase>
- <goals>
- <goal>push</goal>
- </goals>
- <configuration>
- <imageName>onap/aaf/authz-service:${project.docker.latesttagtimestamp.version}</imageName>
- <skipDockerPush>${skip.docker.push}</skipDockerPush>
- </configuration>
- </execution>
- <execution>
+
+ <execution>
<id>tag-image-latest</id>
<phase>package</phase>
<goals>
@@ -229,33 +219,23 @@
</goals>
<configuration>
<image>onap/aaf/authz-service</image>
- <newName>onap/aaf/authz-service:${project.docker.latesttag.version}</newName>
+ <newName>onap/aaf/authz-service:latest</newName>
<skipDockerTag>${skip.docker.push}</skipDockerTag>
</configuration>
</execution>
- <execution>
+
+ <execution>
<id>push-image-latest</id>
<phase>deploy</phase>
<goals>
<goal>push</goal>
</goals>
<configuration>
- <imageName>onap/aaf/authz-service:${project.docker.latesttag.version}</imageName>
+ <imageName>onap/aaf/authz-service:${project.version}</imageName>
<skipDockerPush>${skip.docker.push}</skipDockerPush>
</configuration>
</execution>
- <execution>
- <id>tag-image</id>
- <phase>package</phase>
- <goals>
- <goal>tag</goal>
- </goals>
- <configuration>
- <image>onap/aaf/authz-service</image>
- <newName>onap/aaf/authz-service:latest</newName>
- <skipDockerTag>${skip.docker.push}</skipDockerTag>
- </configuration>
- </execution>
+
<execution>
<id>push-image</id>
<phase>deploy</phase>