From a624397f0538da97706c24f57e83e966475eff14 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:43:16 +0800 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1e8667a..9d3aeff 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,11 +10,11 @@ apk update \ && mv upx /usr/local/bin/upx ### 执行upx upload -upx login ${bucket} ${operator} ${operator_password} +/usr/local/bin/upx login ${bucket} ${operator} ${operator_password} echo "start delete!" -upx rm -a /* +/usr/local/bin/upx rm -a /* echo "start upx upload!" -upx put ${local_path} ${remote_path} -#upx sync ${local_path} ${remote_path} --delete +/usr/local/bin/upx put ${local_path} ${remote_path} +#/usr/local/bin/upx sync ${local_path} ${remote_path} --delete echo "upx upload successful!" -upx logout +/usr/local/bin/upx logout