Skip to content

Dockerhub testing #7

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions Jenkinsfile
Expand Up @@ -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')
}

}