Permalink
Browse files
Adding pushes to dockerhub
- Loading branch information
Showing
with
7 additions
and
0 deletions.
-
+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') |
|
|
} |
|
|
|
|
|
}
|