change way to pass credentials
parent
11410146b2
commit
641c7cc668
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue