Skip to content

Commit

Permalink
Merge pull request #15 from ing-bank/fix/travis
Browse files Browse the repository at this point in the history
fix travis
  • Loading branch information
arempter authored Apr 29, 2019
2 parents 7f1965f + ae626e6 commit 6c347eb
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 @@ -12,8 +12,8 @@ env:
# Also there is an issue with using TRAVIS_BRANCH for PRs since this variable will be set to the target of the PR (e.g. master for PR to master) and then build an image for master unwanted before the merge happened
script:
- if [ -n "$TRAVIS_TAG" ]; then
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
export DOCKER_TAG="${TRAVIS_BRANCH/\//_}"
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin;
export DOCKER_TAG="${TRAVIS_BRANCH/\//_}";
echo "Build image for tag ${DOCKER_TAG}";
docker pull wbaa/rokku-dev-apache-atlas:latest;
travis_wait 80 docker build --quiet -t wbaa/rokku-dev-apache-atlas:$DOCKER_TAG .;
Expand Down

0 comments on commit 6c347eb

Please sign in to comment.