release wallet server master tag every master merge

This commit is contained in:
Victor Shyba 2019-01-25 14:03:39 -03:00 committed by Lex Berezhny
parent b7d62ca084
commit 071af12d1a

View file

@ -118,12 +118,20 @@ jobs:
- if: tag IS present
stage: docker
name: "Wallet Server Docker Image"
name: "Wallet Server Docker Image - Tagged Release"
script:
- set -e
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
- travis_retry docker build -t lbry/wallet-server:$TRAVIS_TAG -f scripts/Dockerfile.wallet_server .
- docker push lbry/wallet-server:$TRAVIS_TAG
- if: tag IS blank AND branch = master
stage: docker
name: "Wallet Server Docker Image - Master"
script:
- set -e
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
- travis_retry docker build -t lbry/wallet-server:master -f scripts/Dockerfile.wallet_server .
- docker push lbry/wallet-server:master
cache:
directories: