调整CI
This commit is contained in:
@@ -16,9 +16,10 @@ initialize-maibot-git-repo:
|
||||
- git clone https://github.com/MaiM-with-u/MaiBot.git target-repo/
|
||||
- cd target-repo/
|
||||
- export MAIBOT_VERSION=$(git describe --tags --abbrev=0)
|
||||
- echo "Current version is `${MAIBOT_VERSION}`"
|
||||
- echo "Current version is ${MAIBOT_VERSION}"
|
||||
- git reset --hard ${MAIBOT_VERSION}
|
||||
- echo ${MAIBOT_VERSION} > MAIBOT_VERSION
|
||||
- git clone https://github.com/MaiM-with-u/MaiMBot-LPMM.git MaiMBot-LPMM
|
||||
|
||||
# 构建最后一个tag的麦麦本体的镜像
|
||||
build-core:
|
||||
@@ -32,7 +33,6 @@ build-core:
|
||||
script:
|
||||
- cd target-repo/
|
||||
- export BUILD_DESTINATION="reg.mikumikumi.xyz/maibot/maibot:$(cat MAIBOT_VERSION)"
|
||||
- git clone https://github.com/MaiM-with-u/MaiMBot-LPMM.git MaiMBot-LPMM
|
||||
- build
|
||||
- rm -rf target-repo/* target-repo/.*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user