fix: show update command at once (#19014)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2023-12-16 12:50:42 +08:00
committed by GitHub
parent 40b9fd99c3
commit 7af3de39f4

View File

@@ -305,13 +305,25 @@ for component in $COMPONENTS; do
general_build $component $arch "true"
done
make_manifest_image $component
show_update_cmd $component $ARCH
#show_update_cmd $component $ARCH
;;
*)
if [ -e "$DOCKER_DIR/Dockerfile.$component" ]; then
general_build $component $ARCH "false"
show_update_cmd $component $ARCH
#show_update_cmd $component $ARCH
fi
;;
esac
done
echo ""
for component in $COMPONENTS; do
if [[ $component == *cli ]]; then
continue
fi
if [[ $component == host-image ]]; then
continue
fi
show_update_cmd $component
done