disable travis docker builds. docker builds trigger from docker hub

This commit is contained in:
Alex Grintsvayg 2019-12-21 13:05:26 -05:00
parent 325b601bea
commit bf2769a0c2
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -114,25 +114,6 @@ jobs:
- sha256sum -b lbrynet-windows.zip - sha256sum -b lbrynet-windows.zip
- ./lbrynet.exe --version - ./lbrynet.exe --version
- if: tag IS present
stage: build
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 -t lbry/wallet-server:latest-release -f docker/Dockerfile.wallet_server .
- docker push lbry/wallet-server:$TRAVIS_TAG
- docker push lbry/wallet-server:latest-release
- 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 docker/Dockerfile.wallet_server .
- docker push lbry/wallet-server:master
cache: cache:
directories: directories:
- $HOME/venv - $HOME/venv