chore: remove docker push (#111)

Co-authored-by: chuhanjin <419436363@qq.com>
This commit is contained in:
ChuhanJin 2022-05-30 22:20:09 +08:00 committed by GitHub
parent 9b99f2e174
commit 35f6a91cd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
Jenkinsfile vendored
View file

@ -53,20 +53,14 @@ pipeline {
stage('Build image') {
app = docker.build("${env.DOCKER_CREDENTIALS_USR}/l2geth-img")
}
stage('Push image') {
// Use the Credential ID of the Docker Hub Credentials we added to Jenkins.
docker.withRegistry('https://registry.hub.docker.com', 'dockerhub') {
// Push image and tag it with our build number for versioning purposes.
app.push("${env.BUILD_NUMBER}")
// Push the same image and tag it as the latest version (appears at the top of our version list).
app.push("latest")
}
}
}
}
}
}
}
post {
always {
cleanWs()
}
}
}