diff --git a/Jenkinsfile b/Jenkinsfile index 219f11f06..3ab4bca65 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -58,7 +58,7 @@ pipeline { steps { echo "Push Docker Image to ECR" script { - sh 'rm -f ~/.dockercfg~/.docker/config.json || true' + sh 'rm -f ~/.dockercfg ~/.docker/config.json || true' docker.withRegistry("http://${ECR_REPOSITORY}", "ecr:${REGION}:${AWS_CREDENTIAL_NAME}") { docker.image("{ECR_DOCKER_IMAGE}:${BUILD_NUMBER}").push() docker.image("${ECR_DOCKER_IMAGE}:latest").push()