add step to build wallet server images on release

This commit is contained in:
Victor Shyba 2019-01-23 17:10:32 -03:00 committed by Lex Berezhny
parent 77ece96356
commit ed61c7feec

View file

@ -116,6 +116,15 @@ jobs:
- python3 scripts/set_build.py - python3 scripts/set_build.py
- pip3 install -e . - pip3 install -e .
- if: tag IS present
stage: docker
name: "Wallet Server Docker Image"
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
cache: cache:
directories: directories:
- $HOME/.cache/pip - $HOME/.cache/pip