summaryrefslogtreecommitdiffstats
path: root/authz-service/pom.xml
diff options
context:
space:
mode:
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>