Skip to content

Commit

Permalink
Fixed travis.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
HadesArchitect authored Aug 26, 2019
1 parent 5eb3936 commit 3074400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 } || echo \"Not latest tag, skipping updated for the latest image\" "
- "[ \"$(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; }"
# Sudo required for doing docker build
sudo: required
services:
Expand Down

0 comments on commit 3074400

Please sign in to comment.