Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Slight improvement in Docker repo push
chubing committed 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
@@ -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")
}

0 comments on commit e9df00f

Please sign in to comment.