Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #25 from docker/grouper-security-scan
Add additional step to Push to private repo
chubing committed Jun 12, 2017
2 parents 6ef9398 + 11491a9 commit dcc0d2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile
@@ -67,6 +67,11 @@ node('docker') {
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") {
def baseImg = docker.build("$maintainer/security-scan-$imagename")
baseImg.push("$tag")
}

stage 'Notify'

0 comments on commit dcc0d2b

Please sign in to comment.