Skip to content

Commit

Permalink
build: push tagged docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
fcastill committed Jan 29, 2020
1 parent 34ef434 commit b2c5078
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,9 @@ jobs:
docker tag flogo/flogo-web:latest-ml flogo/flogo-web:unstable-ml
docker push flogo/flogo-web:unstable-ml
fi
if [ ! -z "$TRAVIS_TAG" ]; then
echo "Tag detected, pushing tag '${TRAVIS_TAG}' to docker hub"
docker tag flogo/flogo-web:latest "flogo/flogo-web:${TRAVIS_TAG}"
docker push "flogo/flogo-web:${TRAVIS_TAG}"
fi

0 comments on commit b2c5078

Please sign in to comment.