Skip to content

Commit

Permalink
docker every single version as well as major version
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed Oct 12, 2018
1 parent 693d33d commit c40ab0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,6 @@ jobs:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- if [[ $TRAVIS_BRANCH = master ]]; then docker push $DOCKER_REPO_SLUG:latest; else true; fi
- if [[ $TRAVIS_TAG = $TRAVIS_BRANCH ]]; then docker push $DOCKER_REPO_SLUG:$MAJOR_VERSION; else true ; fi
- if [[ $TRAVIS_TAG = $TRAVIS_BRANCH ]]; then docker tag $DOCKER_REPO_SLUG:$MAJOR_VERSION $DOCKER_REPO_SLUG:$TRAVIS_TAG; else true ; fi
- if [[ $TRAVIS_TAG = $TRAVIS_BRANCH ]]; then docker push $DOCKER_REPO_SLUG:$TRAVIS_TAG; else true ; fi

0 comments on commit c40ab0e

Please sign in to comment.