Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Commit

Permalink
travis docker
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots committed Sep 12, 2018
1 parent a41bb83 commit 5475986
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 @@ -32,8 +32,8 @@ jobs:
before_script:
- cd docker
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- make -C images all
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker push nbisweden/ega-base:dev
- docker push nbisweden/ega-inbox:dev
- stage: integration tests
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:

after_success:
- if [[ "$TRAVIS_BRANCH" == "dev" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ;
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin ;
docker pull nbisweden/ega-base:dev ;
docker pull nbisweden/ega-inbox:dev ;
docker tag nbisweden/ega-base:dev nbisweden/ega-base:latest ;
Expand Down

0 comments on commit 5475986

Please sign in to comment.