From 0ed41b10fb640b9782364c7b7c9444696877ee4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=BF=98=E5=88=9D=E5=BF=83?= <1624717079@qq.com> Date: Wed, 21 Sep 2022 14:47:28 +0800 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9d3aeff..5e0ae02 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,11 +10,12 @@ apk update \ && mv upx /usr/local/bin/upx ### 执行upx upload -/usr/local/bin/upx login ${bucket} ${operator} ${operator_password} +upx login ${bucket} ${operator} ${operator_password} echo "start delete!" -/usr/local/bin/upx rm -a /* +upx ls +upx rm -a /* echo "start upx upload!" -/usr/local/bin/upx put ${local_path} ${remote_path} -#/usr/local/bin/upx sync ${local_path} ${remote_path} --delete +upx put ${local_path} ${remote_path} +#upx sync ${local_path} ${remote_path} --delete echo "upx upload successful!" -/usr/local/bin/upx logout +upx logout