From 435969624476a99f479eff142b239da4dd42148f Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Fri, 26 Jan 2024 11:18:40 +0100
Subject: [PATCH] OZG-4792 fixed image name in pom.xml

---
 pom.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5a3f9a95..e3013f4a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,7 @@
 	<name>Administration</name>
 	<description>Administration Backend Project</description>
 	<properties>
-
+		<imageName>docker.ozg-sh.de/administration</imageName>
 	</properties>
 	<dependencies>
 		<!-- Spring -->
@@ -62,7 +62,7 @@
 						<artifactId>spring-boot-maven-plugin</artifactId>
 						<configuration>
 						<image>
-							<name>${spring-boot.build-image.imageName}:${env.BRANCH_NAME}-${project.version}</name>
+							<name>${imageName}:${env.BRANCH_NAME}-${project.version}</name>
 							<publish>true</publish>
 						</image>
 						<docker>
@@ -91,8 +91,8 @@
 						<artifactId>spring-boot-maven-plugin</artifactId>
 						<configuration>
 						<image>
-							<name>${spring-boot.build-image.imageName}:${env.BRANCH_NAME}-${project.version}</name>
-							<tags>${spring-boot.build-image.imageName}:snapshot-latest</tags>
+							<name>${imageName}:${env.BRANCH_NAME}-${project.version}</name>
+							<tags>${imageName}:snapshot-latest</tags>
 							<publish>true</publish>
 						</image>
 						<docker>
@@ -121,8 +121,8 @@
 						<artifactId>spring-boot-maven-plugin</artifactId>
 						<configuration>
 						<image>
-							<name>${spring-boot.build-image.imageName}:${env.BRANCH_NAME}-${project.version}</name>
-							<tags>${spring-boot.build-image.imageName}:latest</tags>
+							<name>${imageName}:${env.BRANCH_NAME}-${project.version}</name>
+							<tags>${imageName}:latest</tags>
 							<publish>true</publish>
 						</image>
 						<docker>
-- 
GitLab