Build.sh can build the latest versions of the images using the VERSION file under the two repos (core & web).
11 lines
248 B
Bash
11 lines
248 B
Bash
#!/bin/sh
|
|
|
|
if [[ "$TRAVIS_BRANCH" == "master" ]]
|
|
then
|
|
docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
|
docker push maxking/mailman-web
|
|
docker push maxking/mailman-core
|
|
else
|
|
echo "Non-master branch aren't pushed to DockerHub..."
|
|
fi
|