forked from LBRYCommunity/lbry-sdk
release wallet server master tag every master merge
This commit is contained in:
parent
b7d62ca084
commit
071af12d1a
1 changed files with 9 additions and 1 deletions
10
.travis.yml
10
.travis.yml
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue