mirror of
https://github.com/elyby/chrly.git
synced 2024-11-30 02:32:19 +05:30
Fix latest tag condition
This commit is contained in:
parent
2cd97dda8b
commit
aed957a896
@ -35,7 +35,7 @@ jobs:
|
||||
- docker build -t elyby/chrly:$DOCKER_TAG .
|
||||
- docker push elyby/chrly:$DOCKER_TAG
|
||||
- |
|
||||
if [ -z ${TRAVIS_TAG+x} ]; then
|
||||
if [ ! -z ${TRAVIS_TAG+x} ] && [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||
docker tag elyby/chrly:$DOCKER_TAG elyby/chrly:latest
|
||||
docker push elyby/chrly:latest
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user