Skip to content

Commit

Permalink
change branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Aren Chen committed Jun 20, 2018
1 parent ec2ab00 commit 7423505
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ before_deploy:
deploy:
provider: script
script:
docker tag sdnvortex/vortex sdnvortex/vortex:master
docker push sdnvortex/vortex:master
docker tag sdnvortex/vortex sdnvortex/vortex:develop
docker push sdnvortex/vortex:develop
on:
branch: master
branch: develop

after_success:
- cp build/src/coverage.txt coverage.txt
Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pipeline {
}
stage("Push Image"){
when {
branch 'master'
branch 'develop'
}
steps {
script {
Expand All @@ -106,7 +106,7 @@ pipeline {
]) {
sh 'echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin'
}
docker.image("sdnvortex/vortex").push("master")
docker.image("sdnvortex/vortex").push("develop")
}
}
}
Expand Down

0 comments on commit 7423505

Please sign in to comment.