Skip to content
Snippets Groups Projects
Commit 9a3fb43c authored by Lukas Malte Monnerjahn's avatar Lukas Malte Monnerjahn
Browse files

add a dummy version tag to image name

should avoid the latest tag being overwritten without it being explicitly supplied
parent 555402b8
No related branches found
No related tags found
1 merge request!3Fix overwriting latest Tag in CI
Pipeline #1709 passed
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<image> <image>
<name>${CI_REGISTRY_IMAGE}/${project.artifactId}</name> <name>${CI_REGISTRY_IMAGE}/${project.artifactId}:0.0.1-main</name>
<tags>${IMAGE_TAGS}</tags> <tags>${IMAGE_TAGS}</tags>
<publish>true</publish> <publish>true</publish>
</image> </image>
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <configuration>
<image> <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> <tags>${IMAGE_TAGS}</tags>
<publish>true</publish> <publish>true</publish>
</image> </image>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment