diff --git a/support/build-images b/support/build-images index c7d3d31..b7f0396 100755 --- a/support/build-images +++ b/support/build-images @@ -64,7 +64,7 @@ ENSUITE, vous pourrez relancer la commande" } function _build() { - local dockerfile image="${PRIVAREG:+$PRIVAREG/}${IMAGENAME%*/}/$1" + local dockerfile image="${PRIVAREG:+$PRIVAREG/}${IMAGENAME%/*}/$1" if [ -n "$ForceBuild" -o -z "$(dklsimg "$image")" ]; then estep "Construction de $image" if [ -f "$PROJDIR/Dockerfile.$1" ]; then dockerfile="$PROJDIR/Dockerfile.$1"