Skip to content

Commit

Permalink
Build and push new tagged releases to Docker Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Jul 24, 2018
1 parent 581b4c9 commit 2bdab66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
- export TAG=`echo $TRAVIS_TAG | sed 's/\./-/g' | sed 's/.*/v&/'`
- echo "{\"name\":\"datasette-latest-$ALIAS\",\"alias\":\"$TAG.datasette.io\"}" > now.json
- now alias --token=$NOW_TOKEN
# Build and release to Docker Hub
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=datasetteproject/datasette
- docker build -f Dockerfile -t $REPO:$TRAVIS_TAG .
- docker push $REPO
deploy:
- provider: pypi
user: simonw
Expand Down

0 comments on commit 2bdab66

Please sign in to comment.