增加Docker构建的脚本

This commit is contained in:
xiaoqi.cxq 2023-06-29 22:25:01 +08:00
parent 57931b9db2
commit 1727be1eaf

4
build.sh Normal file
View File

@ -0,0 +1,4 @@
docker build -t mafgwo/stackedit:$1 .
docker tag mafgwo/stackedit:$1 registry.cn-hangzhou.aliyuncs.com/mafgwo/stackedit:$1
docker push mafgwo/stackedit:$1
docker push registry.cn-hangzhou.aliyuncs.com/mafgwo/stackedit:$1