travis fixes

This commit is contained in:
Lex Berezhny 2019-06-20 19:49:09 -04:00
parent 8350b42c1b
commit 3d5aa6a44b

View file

@ -133,15 +133,15 @@ jobs:
- set -e
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
- travis_retry docker build -t lbry/wallet-server:$TRAVIS_TAG -f lbry/scripts/Dockerfile.wallet_server .
#- docker push lbry/wallet-server:$TRAVIS_TAG
#- if: tag IS blank AND branch = master AND NOT type IN (pull_request)
- stage: build
- docker push lbry/wallet-server:$TRAVIS_TAG
- if: tag IS blank AND branch = master AND NOT type IN (pull_request)
stage: build
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 lbry/scripts/Dockerfile.wallet_server .
#- docker push lbry/wallet-server:master
- docker push lbry/wallet-server:master
cache:
directories: