Built on Travis instead of Dockerhub.
This commit is contained in:
committed by
Abhilash Raj
parent
006d9687ea
commit
d5be8baa32
11
build.sh
11
build.sh
@@ -4,8 +4,13 @@ set -e
|
||||
|
||||
# Use this script to build docker images.
|
||||
|
||||
if [ "$TRAVIS_BRANCH" = "master" ]; then
|
||||
TAG="latest"
|
||||
else
|
||||
TAG="$TRAVIS_BRANCH"
|
||||
fi
|
||||
|
||||
DOCKER=docker
|
||||
|
||||
|
||||
$DOCKER build -t maxking/mailman-core core/
|
||||
$DOCKER build -t maxking/mailman-web web/
|
||||
$DOCKER build -t maxking/mailman-core:$TAG core/
|
||||
$DOCKER build -t maxking/mailman-web:$TAG web/
|
||||
|
||||
Reference in New Issue
Block a user