This commit is contained in:
Schneider Roland 2025-02-24 18:28:43 +01:00
parent db96b67081
commit b178c00b4d

View File

@ -49,11 +49,16 @@ CURRENT_VERSION = ''
stage('Push Docker image') {
steps {
withCredentials([usernamePassword(credentialsId: 'rschneider-docker-reop1', passwordVariable: 'PASSWORD', usernameVariable: 'USERNAME')]) {
sh """
echo $PASSWORD | docker login -u $USERNAME --password-stdin ${DOCKER_REGISTRY}
cd environment/dev/docker/cms/scripts
bash ./build.docker.push.sh
"""
}
}
}
}