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
|
2020-07-18 00:43:12 +02:00
|
|
|
docker tag mumo mumblevoip/mumo
|
|
|
|
docker push mumblevoip/mumo
|
2020-07-16 22:08:54 +02:00
|
|
|
fi
|