Skip to content

Commit

Permalink
Fixing dockerhub upload
Browse files Browse the repository at this point in the history
  • Loading branch information
maplesond committed May 31, 2019
1 parent 5ba9649 commit 5e78b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ podTemplate(
if(env.BRANCH_NAME == 'master') {
image.push("stable")
// Dockerhub
withCredentials([usernamePassword(credentialsId: 'dockerhub', username: 'DOCKERHUB_USER', password: 'DOCKERHUB_PASS')]) {
withCredentials([usernamePassword(credentialsId: 'dockerhub', usernameVariable: 'DOCKERHUB_USER', passwordVariable: 'DOCKERHUB_PASS')]) {
sh "docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASS"
sh "docker tag harbor.sdlmapleson.net/portcullis/portcullis:${SEMVER} maplesond/portcullis:${SEMVER}"
sh "docker tag harbor.sdlmapleson.net/portcullis/portcullis:${SEMVER} maplesond/portcullis:latest"
Expand Down

0 comments on commit 5e78b35

Please sign in to comment.