diff options
author | liamfallon <liam.fallon@est.tech> | 2021-04-19 14:10:43 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2021-04-19 14:43:52 +0100 |
commit | 4fe6a2eb96c93ed7cd7e4ff18e9560d519e0ee9a (patch) | |
tree | fb01a96a0d85a3afa4d3ccda39405dbf782f1949 /policy-jre/alpine/pom.xml | |
parent | cfc44f03869b13373946f6f76adc00e5a0539abb (diff) |
Make base image name a property
The base image name is not configurable for Policy builds. This change
makes the base image name configurable so it can be reconfigured if
needs be.
Issue-ID: POLICY-2971
Change-Id: I8ba39aa109c5b4ddb516c27f65bf20dc1020d220
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'policy-jre/alpine/pom.xml')
-rw-r--r-- | policy-jre/alpine/pom.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/policy-jre/alpine/pom.xml b/policy-jre/alpine/pom.xml index c32eafad..21322097 100644 --- a/policy-jre/alpine/pom.xml +++ b/policy-jre/alpine/pom.xml @@ -35,6 +35,10 @@ <name>Policy alpine jre docker image</name> <description>Policy alpine jre docker image</description> + <properties> + <docker.jre.imagename>onap/policy-jre-alpine</docker.jre.imagename> + </properties> + <build> <finalName>${project.artifactId}-${project.version}</finalName> <plugins> @@ -79,7 +83,7 @@ <pushRegistry>${docker.push.registry}</pushRegistry> <images> <image> - <name>onap/policy-jre-alpine</name> + <name>${docker.jre.imagename}</name> <build> <cleanup>try</cleanup> <dockerFile>Dockerfile</dockerFile> @@ -121,7 +125,7 @@ <goal>push</goal> </goals> <configuration> - <image>onap/policy-jre-alpine</image> + <image>${docker.jre.imagename}</image> </configuration> </execution> </executions> |