@@ -55,8 +55,8 @@ pipeline {
)]) {
sh """
cd ${params.SERVICE}
- docker build -t ${DOCKER_IMAGE} .
echo "\${REGISTRY_PASSWORD}" | docker login ${DOCKER_REGISTRY} -u \${REGISTRY_USERNAME} --password-stdin
+ docker build -t ${DOCKER_IMAGE} .
docker push ${DOCKER_IMAGE}
"""
}