From 1bb8bc02bb70ad5081f3517f2ffb74ead4b3ff88 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Mon, 29 Jan 2024 10:31:46 +0100
Subject: [PATCH] OZG-4792 Password passing in Jenkinsfile and pom.xml

---
 pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pom.xml b/pom.xml
index 10e86e15..bf0d99d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -100,6 +100,10 @@
 						<name>${imageName}:${env.BRANCH_NAME}-${project.version}</name>
 						<publish>true</publish>
 					</image>
+                        <publishRegistry>
+                            <username>${docker.publishRegistry.username}</username>
+                            <password>${docker.publishRegistry.password}</password>
+                        </publishRegistry>
 					<excludes>
 						<exclude>
 							<groupId>org.projectlombok</groupId>
-- 
GitLab