mumo3/travis_deploy.sh

14 lines
308 B
Bash
Raw Permalink Normal View History

2020-07-16 22:08:54 +02:00
#!/usr/bin/env bash
if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
fi
docker build -t mumo .
docker images
if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
docker tag mumo mumblevoip/mumo
docker push mumblevoip/mumo
2020-07-16 22:08:54 +02:00
fi