Set the default tag of image policy-xacml-pdp to be project version on istanbul 30/129230/1
authorxudan16 <xudan16@huawei.com>
Wed, 18 May 2022 02:57:47 +0000 (10:57 +0800)
committerDan Xu <xudan16@huawei.com>
Thu, 19 May 2022 03:10:27 +0000 (03:10 +0000)
The default tag of image policy-xacml-pdp was latest.
When building on istanbul branch, the latest tag generated
will override the one generated on master branch.

Issue-ID: POLICY-4186
Signed-off-by: xudan16 <xudan16@huawei.com>
Change-Id: I211396c1bcdc98602b199d52655bec43d865fc84

packages/policy-xacmlpdp-docker/pom.xml

index 9c0e53f..9f4d698 100644 (file)
 
                     <images>
                         <image>
-                            <name>onap/policy-xacml-pdp</name>
+                            <name>onap/policy-xacml-pdp:${project.version}</name>
                             <build>
                                 <cleanup>try</cleanup>
                                 <dockerFile>Dockerfile</dockerFile>
                                 <tags>
-                                    <tag>${project.version}</tag>
                                     <tag>${project.version}-${maven.build.timestamp}</tag>
                                     <tag>${project.docker.latest.minmax.tag.version}</tag>
                                 </tags>