Skip to content

Commit

Permalink
dirty hack
Browse files Browse the repository at this point in the history
  • Loading branch information
toschoch committed Dec 9, 2018
1 parent 431d863 commit 8351297
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,8 @@ node('docker') {

stage('Push Image') {
docker.withRegistry('https://docker.io','docker public') {
withCredentials([
usernamePassword(credentialsId: 'docker public',
usernameVariable: 'USERNAME',
passwordVariable: 'PASSWORD')]) {
def builtImage = docker.build("${USERNAME}/docker-alpine-oracle-jdk-arm",".")
builtImage.push()
}
def builtImage = docker.build("shocki/docker-alpine-oracle-jdk-arm",".")
builtImage.push()
}
}
}

0 comments on commit 8351297

Please sign in to comment.