From 5eb393611092a1f3ae34ecfba3d5c04bd08471e3 Mon Sep 17 00:00:00 2001 From: Aleksandr Volochnev Date: Mon, 26 Aug 2019 23:54:32 +0200 Subject: [PATCH] Travis build fix --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4c9e8b6..a7a9706 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ after_success: - docker tag ${TRAVIS_COMMIT} killrvideo/killrvideo-python:${TRAVIS_TAG} - docker login -u $DOCKER_USER -p $DOCKER_PASS - docker push killrvideo/killrvideo-python:${TRAVIS_TAG} - - "[ $(git tag --sort=-v:refname | grep -E '^\\d+.\\d+.\\d+$' | head -n1) == \"$TRAVIS_TAG\" ] && docker tag ${TRAVIS_COMMIT} killrvideo/killrvideo-python:latest; docker push killrvideo/killrvideo-python:latest" + - "[ \"$(git tag --sort=-v:refname | grep -E '^\\d+.\\d+.\\d+$' | head -n1)\" == \"$TRAVIS_TAG\" ] && { docker tag ${TRAVIS_COMMIT} killrvideo/killrvideo-python:latest; docker push killrvideo/killrvideo-python:latest } || echo \"Not latest tag, skipping updated for the latest image\" " # Sudo required for doing docker build sudo: required services: