Skip to content

Commit

Permalink
Slight improvement in Docker repo push
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Jun 12, 2017
1 parent 1a918f8 commit e9df00f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ node('docker') {
docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-$maintainer") {
def baseImg = docker.build("$maintainer/$imagename")
baseImg.push("$tag")
}
// Push to private repo to do security scan on container
docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-$maintainer") {
// Push to private repo to do security scan on container
def baseImg = docker.build("tieradmin/security-scan-$imagename")
baseImg.push("$tag")
}
Expand Down

0 comments on commit e9df00f

Please sign in to comment.