mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
chore: remove docker push (#111)
Co-authored-by: chuhanjin <419436363@qq.com>
This commit is contained in:
parent
9b99f2e174
commit
35f6a91cd5
1 changed files with 6 additions and 12 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue