Update entrypoint.sh

main
不忘初心 2 years ago committed by GitHub
parent a624397f05
commit 0ed41b10fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,11 +10,12 @@ apk update \
&& mv upx /usr/local/bin/upx && mv upx /usr/local/bin/upx
### 执行upx upload ### 执行upx upload
/usr/local/bin/upx login ${bucket} ${operator} ${operator_password} upx login ${bucket} ${operator} ${operator_password}
echo "start delete!" echo "start delete!"
/usr/local/bin/upx rm -a /* upx ls
upx rm -a /*
echo "start upx upload!" echo "start upx upload!"
/usr/local/bin/upx put ${local_path} ${remote_path} upx put ${local_path} ${remote_path}
#/usr/local/bin/upx sync ${local_path} ${remote_path} --delete #upx sync ${local_path} ${remote_path} --delete
echo "upx upload successful!" echo "upx upload successful!"
/usr/local/bin/upx logout upx logout

Loading…
Cancel
Save