mirror of https://github.com/Mai-with-u/MaiBot.git
调整CI
parent
04a7075425
commit
fb7468c5ae
|
|
@ -20,6 +20,7 @@ initialize-maibot-git-repo:
|
||||||
- git reset --hard ${MAIBOT_VERSION}
|
- git reset --hard ${MAIBOT_VERSION}
|
||||||
- echo ${MAIBOT_VERSION} > MAIBOT_VERSION
|
- echo ${MAIBOT_VERSION} > MAIBOT_VERSION
|
||||||
- git clone https://github.com/MaiM-with-u/MaiMBot-LPMM.git MaiMBot-LPMM
|
- git clone https://github.com/MaiM-with-u/MaiMBot-LPMM.git MaiMBot-LPMM
|
||||||
|
- ls -al
|
||||||
|
|
||||||
# 构建最后一个tag的麦麦本体的镜像
|
# 构建最后一个tag的麦麦本体的镜像
|
||||||
build-core:
|
build-core:
|
||||||
|
|
@ -32,6 +33,7 @@ build-core:
|
||||||
- target-repo/
|
- target-repo/
|
||||||
script:
|
script:
|
||||||
- cd target-repo/
|
- cd target-repo/
|
||||||
|
- ls -al
|
||||||
- export BUILD_DESTINATION="reg.mikumikumi.xyz/maibot/maibot:$(cat MAIBOT_VERSION)"
|
- export BUILD_DESTINATION="reg.mikumikumi.xyz/maibot/maibot:$(cat MAIBOT_VERSION)"
|
||||||
- build
|
- build
|
||||||
- rm -rf target-repo/* target-repo/.*
|
- rm -rf target-repo/* target-repo/.*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue