Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpeng committed Jun 13, 2019
1 parent 6a9c35b commit 47b0b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -9,11 +9,11 @@ before_install:

script:
- bash init.sh
- docker build -t wise2c/playbook:v1.14.3 .
- docker build -t wise2c/playbook:$TRAVIS_BRANCH .

deploy:
provider: script
script: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD && docker push wise2c/playbook:v1.14.3
script: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD && docker push wise2c/playbook:$TRAVIS_BRANCH
on:
all_branches: true
# condition: "$TRAVIS_BRANCH =~ ^v[0-9]+\\.[0-9]+(\\.[0-9]+)?(-\\S*)?$"

0 comments on commit 47b0b74

Please sign in to comment.