aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorxudan16 <xudan16@huawei.com>2022-05-18 10:57:47 +0800
committerxudan16 <xudan16@huawei.com>2022-05-18 11:03:20 +0800
commit6a525f2d5a64308379de413f0ae3268986994af3 (patch)
treeca078be2d8fd077c5a8c469db2a3b248e24aac55 /packages
parent747074bc591766fb25a288792ec4d61c6a868521 (diff)
Set the default tag of image policy-xacml-pdp to be project version
The default tag of image policy-xacml-pdp is latest. When building on the stable 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
Diffstat (limited to 'packages')
-rw-r--r--packages/policy-xacmlpdp-docker/pom.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/policy-xacmlpdp-docker/pom.xml b/packages/policy-xacmlpdp-docker/pom.xml
index a9f5f9ab..c338a684 100644
--- a/packages/policy-xacmlpdp-docker/pom.xml
+++ b/packages/policy-xacmlpdp-docker/pom.xml
@@ -77,12 +77,11 @@
<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>