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 { stages {
stage('Build ML Base Image') { stage('Build ML Base Image') {
steps { steps {
script { sh "DOCKER_BUILDKIT=1 docker build -f MLBaseDockerfile -t ${env.PULL_REGISTRY}/ml_base:latest ."
def img = docker.build("${env.PULL_REGISTRY}/ml_base:latest", "-f MLBaseDockerfile .") sh "docker push ${env.PULL_REGISTRY}/ml_base:latest"
img.push()
}
}
} }
} }
} }