add a latest-release tag to wallet server docker builds

This commit is contained in:
Alex Grintsvayg 2019-11-13 12:08:04 -05:00
parent 7051c332a1
commit 19c3b2f4b6
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

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