Skip to content
Permalink
Browse files

Common push incantation

  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Aug 30, 2016
1 parent 991a369 commit cc6760138b2526de5ae8c01811b89cb68306f823
Showing with 3 additions and 3 deletions.
  1. +3 −3 Jenkinsfile
@@ -57,9 +57,9 @@ node {

stage 'SHIP: Base'

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

0 comments on commit cc67601

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