From d6231dbe0f483b25ee26edf06e08b2e07dadb3c7 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Tue, 22 Oct 2024 20:53:21 +0200 Subject: [PATCH] Fixing some issues with naming --- ogWebconsole/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ogWebconsole/Jenkinsfile b/ogWebconsole/Jenkinsfile index dfa6430..e8262b5 100644 --- a/ogWebconsole/Jenkinsfile +++ b/ogWebconsole/Jenkinsfile @@ -1,7 +1,7 @@ pipeline { agent { label 'jenkins-slave' } environment { - DOCKER_REGISTRY = "opengnsys" + DOCKER_REPO = "opengnsys" DOCKER_CREDENTIALS = credentials('DOCKER_HUB_TOKEN') DOCKER_TAG = "${env.BUILD_NUMBER}" DOCKER_IMAGE_NAME = "oggui" @@ -18,7 +18,7 @@ pipeline { echo 'Building....' script { dir('ogWebconsole') { - docker.build("${DOCKER_IMAGE_NAME}:${BRANCH_NAME}-${DOCKER_TAG}", "-f Dockerfile .") + docker.build("${DOCKER_REPO}/${DOCKER_IMAGE_NAME}:${BRANCH_NAME}-${DOCKER_TAG}", "-f Dockerfile .") } } }