Stackedit/build/docker-push-tag.sh

8 lines
271 B
Bash
Raw Normal View History

2018-03-28 17:22:27 +00:00
#!/bin/bash
set -e
2018-03-30 12:04:14 +00:00
docker login -u benweet -p "$DOCKER_PASSWORD"
2018-03-28 17:22:27 +00:00
docker tag benweet/stackedit "benweet/stackedit:$TRAVIS_TAG"
2018-03-30 12:04:14 +00:00
docker push benweet/stackedit:$TRAVIS_TAG
docker tag benweet/stackedit:$TRAVIS_TAG benweet/stackedit:latest
2018-03-28 17:22:27 +00:00
docker push benweet/stackedit:latest