没有可用的镜像,自行构建
This commit is contained in:
@@ -2,6 +2,16 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- package
|
- 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,构建并推送镜像
|
# 将Helm Chart版本作为tag,构建并推送镜像
|
||||||
build-adapter-cm-generator:
|
build-adapter-cm-generator:
|
||||||
stage: build
|
stage: build
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
value: 99f08e0cab0190de853cb6af7d64d4de
|
value: 99f08e0cab0190de853cb6af7d64d4de
|
||||||
- name: PRIVACY_AGREE
|
- name: PRIVACY_AGREE
|
||||||
value: 9943b855e72199d0f5016ea39052f1b6
|
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 }}
|
imagePullPolicy: {{ .Values.core.image.pullPolicy }}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ adapter:
|
|||||||
core:
|
core:
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: sengokucola/maibot
|
repository: reg.mikumikumi.xyz/maibot/maibot
|
||||||
tag: # 默认 main-0e0179f
|
tag: # 默认 main-0e0179f
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
pullSecrets: [ ]
|
pullSecrets: [ ]
|
||||||
|
|||||||
Reference in New Issue
Block a user