publish.sh: improve publish.sh [1/1]

PD#SWPL-67525

Problem:
improve publish.sh

Solution:
improve publish.sh

Verify:
ad401_a113l

Signed-off-by: Kelvin Zhang <kelvin.zhang@amlogic.com>
Change-Id: I4f74af1cc7d2d165cb317a5feb273ff2ea82df0d
diff --git a/build_all.sh b/build_all.sh
index d2161e2..4f80a2e 100755
--- a/build_all.sh
+++ b/build_all.sh
@@ -39,8 +39,8 @@
 	make
 	[ "$?" -ne 0 ] && echo "Failed to make!" && exit 3
 	if [[ "$SUBMIT_TYPE" == "daily" ]]; then
-		publish_image
-		[ "$?" -ne 0 ] && echo "Failed to source scripts/scp.sh!" && exit 4
+		publish_images
+		[ "$?" -ne 0 ] && echo "Failed to publish images!" && exit 4
 	fi
 done <"$BUILD_COMBINATION"