Skip to content

Commit

Permalink
adjust code for k8s 1.8 dependence
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinyv committed Nov 29, 2017
1 parent a78ca2f commit 8b1ab02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ script:

deploy:
- provider: script
script: IMAGE_LABLE=$TRAVIS_BRANCH make publish
script: IMAGE_LABLE=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} make publish
skip_cleanup: true
on:
tags: true

after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker login -u="$QING_DOCKER_USER" -p="$QING_DOCKER_PASSWD" dockerhub.qingcloud.com
- IMAGE_LABLE=$TRAVIS_BRANCH make install-docker
- IMAGE_LABLE=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} make install-docker

0 comments on commit 8b1ab02

Please sign in to comment.