From 9a3fb43c38797874b3d0fafe3899e106b091a90b Mon Sep 17 00:00:00 2001
From: Lukas Malte Monnerjahn <lukasmalte.monnerjahn@dataport.de>
Date: Tue, 11 Feb 2025 13:46:03 +0100
Subject: [PATCH] add a dummy version tag to image name

should avoid the latest tag being overwritten without it being explicitly supplied
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 077b48fd..21fcc7c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -232,7 +232,7 @@
 						<artifactId>spring-boot-maven-plugin</artifactId>
 						<configuration>
 							<image>
-								<name>${CI_REGISTRY_IMAGE}/${project.artifactId}</name>
+								<name>${CI_REGISTRY_IMAGE}/${project.artifactId}:0.0.1-main</name>
 								<tags>${IMAGE_TAGS}</tags>
 								<publish>true</publish>
 							</image>
@@ -272,7 +272,7 @@
 						<artifactId>spring-boot-maven-plugin</artifactId>
 						<configuration>
 							<image>
-								<name>docker.ozg-sh.de/${project.artifactId}</name>
+								<name>docker.ozg-sh.de/${project.artifactId}:0.0.1-main</name>
 								<tags>${IMAGE_TAGS}</tags>
 								<publish>true</publish>
 							</image>
-- 
GitLab