change way to pass credentials
oggui-multibranch/pipeline/head There was a failure building this commit Details
ogGui-multibranch/pipeline/head There was a failure building this commit Details

develop-jenkins
Nicolas Arenas 2024-10-22 21:16:03 +02:00
parent 11410146b2
commit 641c7cc668
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ pipeline {
steps {
echo 'Pushing....'
script {
docker.withRegistry('https://index.docker.io/v1/', "${DOCKER_CREDENTIALS}") {
docker.withRegistry('https://index.docker.io/v1/', 'docker-hub-credentials' ) {
dir('ogWebconsole') {
docker.image("${DOCKER_REPO}/${DOCKER_IMAGE_NAME}:${BRANCH_NAME}-${DOCKER_TAG}").push()
}