Skip to content

Commit

Permalink
travis unstable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis committed Mar 19, 2019
1 parent b04b507 commit 57a7d89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ cache:
directories:
- "node_modules"
after_success:
- if [[ "$version" == *"-"* ]]; then export docker_tag=latest-unstable; else export docker_tag=latest; fi;
- test "$TRAVIS_TAG" != "" && version=${TRAVIS_TAG:1};
- test "$TRAVIS_TAG" != "" && docker build -t gyselroth/kube-icinga:$version .
- test "$TRAVIS_TAG" != "" && docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- test "$TRAVIS_TAG" != "" && docker tag gyselroth/kube-icinga:$version
- test "$TRAVIS_TAG" != "" && docker tag gyselroth/kube-ldap:latest
- test "$TRAVIS_TAG" != "" && docker tag gyselroth/kube-icinga:$version gyselroth/kube-ldap:$docker_tag
- test "$TRAVIS_TAG" != "" && docker push gyselroth/kube-icinga:$version
- test "$TRAVIS_TAG" != "" && docker push gyselroth/kube-icinga:latest
- test "$TRAVIS_TAG" != "" && docker push gyselroth/kube-icinga:$docker_tag

0 comments on commit 57a7d89

Please sign in to comment.