请查看 Release 页面
# 上传附件到 Release, 最大支持 5G
docker run --rm \
-e TZ=Asia/Shanghai \
-e CNB_TOKEN='xxxxxxxxxxx' \
-e CNB_API_ENDPOINT='https://api.cnb.cool' \
-e CNB_REPO_SLUG='maikebuke/storage' \
-e PLUGIN_TAG='init' \
-e PLUGIN_ATTACHMENTS='./samba.tar.gz' \
-e PLUGIN_TYPE='UPLOAD' \
-v $(pwd):$(pwd) \
-w $(pwd) \
cnbcool/attachments:latest