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 .") } } }