From 27149b17503be403269a7fc6b5220f6dee38526e Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 5 Mar 2025 08:51:57 +0100 Subject: [PATCH] fix(Jenkinsfile): enhance Docker registry credentials handling with dynamic URL --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 086c58362..e6647a654 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -115,7 +115,7 @@ pipeline { script { sh 'rm junit/e2e-*.xml || true' env.COMPOSE_TAG = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : 'dev' - withDockerRegistry([credentialsId: 'docker-registry']) { + withDockerRegistry([credentialsId: 'docker-registry', url: "https://${env.REGISTRY}" ]) { sh "docker-compose ${env.COMPOSE_PARAMS} up -d" } def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs')