Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding pushes to dockerhub
Jim Van Fleet committed Jul 14, 2016
1 parent 24197a4 commit 80e4134
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 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.