Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dsecop authored Nov 25, 2023
1 parent fbf8ed6 commit da7b441
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@ pipeline {
}
}
}
stage('Publish') {
// stage('Publish') {
// steps {
// script {
// docker.withRegistry('', registryCredential) {
// docker.image("${registry}:${env.BUILD_ID}").push('latest')
// }
// }
// }
// }
stage('Pub') {
steps {
script {
docker.withRegistry('', registryCredential) {
docker.image("${registry}:${env.BUILD_ID}").push('latest')
}
docker.withRegistry( '', registryCredential) {
dockerImage.push()
}
}
}
Expand Down

0 comments on commit da7b441

Please sign in to comment.