From a6491fd87f14e51c2d2d7374bf6f5df63517f83f Mon Sep 17 00:00:00 2001 From: Filip Pytloun Date: Mon, 26 Apr 2021 18:25:29 +0200 Subject: [PATCH] Fix build.sh --- build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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