mirror of
https://github.com/labring/sealos.git
synced 2026-10-24 11:53:32 +08:00
26 lines
1.2 KiB
Bash
26 lines
1.2 KiB
Bash
#!/bin/bash
|
|
# Author:louisehong4168
|
|
# Blog:https://fenghong.tech
|
|
# Time:2020-12-06 11:17:39
|
|
# Name:test/note.sh
|
|
# Description:This is a production script.
|
|
echo "### Usage" >> Note.md
|
|
echo "
|
|
\`\`\`sh
|
|
# 下载并安装sealos, sealos是个golang的二进制工具,直接下载拷贝到bin目录即可, release页面也可下载
|
|
$ wget -c https://sealyun.oss-cn-beijing.aliyuncs.com/latest/sealos && \\
|
|
chmod +x sealos && mv sealos /usr/bin
|
|
\`\`\`
|
|
" >> Note.md
|
|
echo "### [amd64 下载地址]" >> Note.md
|
|
echo "[oss 下载地址](https://${BUCKETNAME:-sealyun}.${OSSENDPOINT:-oss-cn-beijing.aliyuncs.com}/${VERSION}/sealos)" >> Note.md
|
|
echo "[latest 版本 oss下载地址](https://${BUCKETNAME:-sealyun}.${OSSENDPOINT:-oss-cn-beijing.aliyuncs.com}/latest/sealos)" >> Note.md
|
|
echo "### [arm64 下载地址]" >> Note.md
|
|
echo "[oss 下载地址](https://${BUCKETNAME:-sealyun}.${OSSENDPOINT:-oss-cn-beijing.aliyuncs.com}/${VERSION}/sealos-arm64)" >> Note.md
|
|
echo "[latest 版本 oss下载地址](https://${BUCKETNAME:-sealyun}.${OSSENDPOINT:-oss-cn-beijing.aliyuncs.com}/latest/sealos-arm64)" >> Note.md
|
|
echo "### Docker images" >> Note.md
|
|
echo "- \`${DOCKER_REPO:-fanux/sealos}:${VERSION}\`" >> Note.md
|
|
echo "- \`${DOCKER_REPO:-fanux/sealos}:latest\`" >> Note.md
|
|
|
|
cat Note.md
|