plone.restapi/expansion: Push lastest tag on travis.
Timo Stollenwerk <jenkins-z4DKO/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Repository: plone.restapi Branch: refs/heads/expansion Date: 2017-07-16T12:06:34+02:00 Author: Timo Stollenwerk (tisto) <[email protected]> Commit: https://github.com/plone/plone.restapi/commit/fd9c537cd1ddea6d5bf0e235e031a65cf2498c4f Push lastest tag on travis. Files changed: M .travis.yml diff --git a/.travis.yml b/.travis.yml index 4a535b7e..010daa66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,5 +36,5 @@ after_success: - coveralls - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - if [ ! $TRAVIS_TAG ]; then docker build --tag plone/plone.restapi:plone-$PLONE_VERSION-$(git rev-parse HEAD) . ; fi - - if [ $TRAVIS_TAG ]; then docker build --tag plone/plone.restapi:plone-$PLONE_VERSION-$(git rev-parse HEAD) . --tag plone/plone.restapi:plone-$PLONE_VERSION-$TRAVIS_TAG; fi + - if [ $TRAVIS_TAG ]; then docker build --tag plone/plone.restapi:plone-$PLONE_VERSION-$(git rev-parse HEAD) . --tag plone/plone.restapi:plone-$PLONE_VERSION-$TRAVIS_TAG --tag plone/plone.restapi:latest ; fi - docker push plone/plone.restapi ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot