deploy to dockerHub on tags (#3011)

This commit is contained in:
Florent Vilmart
2016-11-11 10:27:01 -05:00
committed by GitHub
parent 5082609937
commit fbbc23772b
2 changed files with 11 additions and 0 deletions

3
resources/docker-hub.sh Normal file
View File

@@ -0,0 +1,3 @@
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
docker build -t parseplatform/parse-server:$TRAVIS_TAG .
docker push parseplatform/parse-server:$TRAVIS_TAG