没有可用的镜像,自行构建

This commit is contained in:
zhangxinhui02
2025-09-23 02:11:25 +08:00
parent 87e5a31d34
commit 99429bbc8c
3 changed files with 12 additions and 2 deletions

View File

@@ -2,6 +2,16 @@ stages:
- build
- package
# 构建最后一个tag的麦麦本体的镜像
build-core:
stage: build
image: reg.mikumikumi.xyz/base/kaniko-builder:latest
script:
- export MAIBOT_VERSION=$(git describe --tags --abbrev=0)
- git reset --hard ${MAIBOT_VERSION}
- export BUILD_DESTINATION="reg.mikumikumi.xyz/maibot/maibot:${MAIBOT_VERSION}"
- build
# 将Helm Chart版本作为tag构建并推送镜像
build-adapter-cm-generator:
stage: build

View File

@@ -29,7 +29,7 @@ spec:
value: 99f08e0cab0190de853cb6af7d64d4de
- name: PRIVACY_AGREE
value: 9943b855e72199d0f5016ea39052f1b6
image: {{ .Values.core.image.repository }}:{{ .Values.core.image.tag | default "main-0e0179f" }}
image: {{ .Values.core.image.repository }}:{{ .Values.core.image.tag | default "0.10.3-beta" }}
imagePullPolicy: {{ .Values.core.image.pullPolicy }}
ports:
- containerPort: 8000

View File

@@ -47,7 +47,7 @@ adapter:
core:
image:
repository: sengokucola/maibot
repository: reg.mikumikumi.xyz/maibot/maibot
tag: # 默认 main-0e0179f
pullPolicy: IfNotPresent
pullSecrets: [ ]