Use sh steps instead of docker plugin

This commit is contained in:
2025-11-26 13:56:50 +01:00
parent 1f566c14a2
commit cf187a73e0

7
Jenkinsfile vendored
View File

@@ -8,11 +8,8 @@ pipeline {
stages {
stage('Build ML Base Image') {
steps {
script {
def img = docker.build("${env.PULL_REGISTRY}/ml_base:latest", "-f MLBaseDockerfile .")
img.push()
}
}
sh "DOCKER_BUILDKIT=1 docker build -f MLBaseDockerfile -t ${env.PULL_REGISTRY}/ml_base:latest ."
sh "docker push ${env.PULL_REGISTRY}/ml_base:latest"
}
}
}