diff --git a/build.sh b/build.sh index d090e98..2137e51 100755 --- a/build.sh +++ b/build.sh @@ -4,10 +4,10 @@ TAG="1.5-$(date +%Y%m%d)" find . -name Dockerfile | while read i; do dir=$(dirname $i) - pushd ${dir} - image="genunix/mailu-${dir}:${TAG}" - echo "[INFO] Building $(basename $dir)" + pushd ${dir} >/dev/null + image="genunix/mailu-$(basename $dir):${TAG}" + echo "[INFO] Building ${image}" docker build -t ${image} . docker push ${image} - popd + popd >/dev/null done