Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
fix travis build on release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsdave committed Oct 27, 2018
1 parent 204b8fd commit a7d497d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ deploy:
on:
branch: master
- provider: script
script: ./dockerfiles/tag-and-push-docker-images.sh ${DOCKERHUB_USERNAME} ${DOCKERHUB_PASSWORD} ${DOCKER_TEMP_TAG} ${TRAVIS_TAG}
script: ./dockerfiles/tag-and-push-docker-images.sh ${DOCKERHUB_USERNAME} ${DOCKERHUB_PASSWORD} ${DOCKER_TEMP_TAG} v${TRAVIS_BRANCH##release-}
on:
tags: true
all_branches: true
condition: "$TRAVIS_BRANCH =~ ^release-([0-9]+.)*[0-9]+$"

0 comments on commit a7d497d

Please sign in to comment.