travis: Tag the last release with latest-release

Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com>
This commit is contained in:
Daniel Wagner 2018-03-26 14:03:45 +02:00
parent 6afd92eabc
commit 6dfc870feb

View File

@ -37,6 +37,8 @@ jobs:
if [ "$TRAVIS_BRANCH" == "$TAG" ]; then
docker tag $IMAGE $IMAGE:$TAG;
docker push $IMAGE:$TAG;
docker tag $IMAGE $IMAGE:latest-release;
docker push $IMAGE:latest-release;
elif [ "$TRAVIS_BRANCH" == "next" ]; then
docker tag $IMAGE $IMAGE:next;
docker push $IMAGE:next;