Skip to content

Commit

Permalink
Pushing to Dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Aug 8, 2016
1 parent f22b5a1 commit 6730423
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ node('docker') {
stage 'Stop container'

sh 'bin/ci-stop.sh'

stage 'Push'

docker.withRegistry('https://registry.hub.docker.com/', 'dockerhub-bigfleet') {
def baseImg = docker.build("$maintainer/$imagename")
baseImg.push("$tag")
}

}

Expand Down

0 comments on commit 6730423

Please sign in to comment.