Skip to content
Permalink
Browse files

Adding pushes to dockerhub

  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Jul 14, 2016
1 parent 24197a4 commit 80e4134cad8ae0865e9c01260dfda441af67dc01
Showing with 7 additions and 0 deletions.
  1. +7 −0 Jenkinsfile
@@ -10,5 +10,12 @@ node {
stage 'Tests'

sh '/usr/local/bin/bats tests/base.bats'

stage 'Push'

docker.withRegistry('https://registry.hub.docker.com/', 'dockerhub-bigfleet') {
def baseImg = docker.build('bigfleet/centos7base')
baseImg.push('latest')
}

}

0 comments on commit 80e4134

Please sign in to comment.
You can’t perform that action at this time.