Skip to content
Permalink
Browse files

fix docker creds

  • Loading branch information
pcaskey committed Jun 23, 2020
1 parent c8a9fba commit b4de9218c74c974865fced1c327dae7089f02bf3
Showing with 2 additions and 2 deletions.
  1. +2 −2 Jenkinsfile
@@ -75,12 +75,12 @@ node('docker') {

stage 'Push'

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

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

0 comments on commit b4de921

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