From 00d6bf592f565dddf209a965ab18cae17142b4ad Mon Sep 17 00:00:00 2001
From: Lukas Malte Monnerjahn <lukasmalte.monnerjahn@dataport.de>
Date: Tue, 1 Oct 2024 16:54:47 +0200
Subject: [PATCH] push artifacts and images for release branch

---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 595ecc9..8a461ce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -48,6 +48,7 @@ deploy_to_artifactory:
     - mvn deploy -P artifactory-deploy $MAVEN_DEPLOY_CLI_OPTS $MAVEN_CLI_OPTS
   only:
     - main
+    - release
 
 deploy_to_nexus:
   stage: deploy
@@ -57,6 +58,7 @@ deploy_to_nexus:
     - mvn deploy -P nexus-deploy $MAVEN_DEPLOY_CLI_OPTS $MAVEN_CLI_OPTS
   only:
     - main
+    - release
 
 push_docker_image_to_nexus:
   stage: image
@@ -71,6 +73,7 @@ push_docker_image_to_nexus:
         -Dspring-boot.build-image.publish=true
   only:
     - main
+    - release
 
 push_docker_image_to_artifactory:
   stage: image
@@ -85,3 +88,4 @@ push_docker_image_to_artifactory:
         -Dspring-boot.build-image.publish=true
   only:
     - main
+    - release
-- 
GitLab