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-jdk/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-jdk/alpine/pom.xml')
-rw-r--r-- | policy-jdk/alpine/pom.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/policy-jdk/alpine/pom.xml b/policy-jdk/alpine/pom.xml index 0964f24b..c89cd7d6 100644 --- a/policy-jdk/alpine/pom.xml +++ b/policy-jdk/alpine/pom.xml @@ -35,6 +35,10 @@ <name>Policy alpine jdk docker image</name> <description>Policy alpine jdk docker image</description> + <properties> + <docker.jdk.imagename>onap/policy-jdk-alpine</docker.jdk.imagename> + </properties> + <build> <finalName>${project.artifactId}-${project.version}</finalName> <plugins> @@ -79,7 +83,7 @@ <pushRegistry>${docker.push.registry}</pushRegistry> <images> <image> - <name>onap/policy-jdk-alpine</name> + <name>${docker.jdk.imagename}</name> <build> <cleanup>try</cleanup> <dockerFile>Dockerfile</dockerFile> @@ -121,7 +125,7 @@ <goal>push</goal> </goals> <configuration> - <image>onap/policy-jdk-alpine</image> + <image>${docker.jdk.imagename}</image> </configuration> </execution> </executions> |