Skip to content

Commit

Permalink
Images tagges as 0.5.0-alpha1 (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgorostiaga authored Oct 2, 2017
1 parent 3c8ec45 commit 1dd76c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ node('docker') {

stage "Build images - Package"
echo ("Building full version")
sh 'docker build -t elastest/ems:0.1 .'
def myfullimage = docker.image('elastest/ems:0.1');
sh 'docker build -t elastest/ems:0.5.0-alpha1 .'
def myfullimage = docker.image('elastest/ems:0.5.0-alpha1');
echo ("Building min version")
sh 'docker build -f Dockerfile_min -t elastest/ems_min:0.1 .'
def myminimage = docker.image('elastest/ems_min:0.1');
sh 'docker build -f Dockerfile_min -t elastest/ems_min:0.5.0-alpha1 .'
def myminimage = docker.image('elastest/ems_min:0.5.0-alpha1');

stage "Run images"
myfullimage.run()
Expand All @@ -36,7 +36,7 @@ node('docker') {
usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) {
sh 'docker login -u "$USERNAME" -p "$PASSWORD"'
myfullimage.push()
myminimage.run()
myminimage.push()
}
}
}

0 comments on commit 1dd76c7

Please sign in to comment.