Skip to content

Commit 5223161

Browse files
committed
✨ MCP Service Containerization Integration #1368
[Specification Details] 1. Add the MCP image build process in docker-deploy to ensure that the generated pipeline can automatically build the MCP image.
1 parent 7c9e5ce commit 5223161

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/docker-deploy.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,17 @@ jobs:
7070
- name: Build docs image
7171
run: docker build --progress=plain -t nexent/nexent-docs:${{ github.event.inputs.app_version }} -t nexent/nexent-docs -f make/docs/Dockerfile .
7272

73+
build-mcp:
74+
runs-on: ${{ fromJson(inputs.runner_label_json) }}
75+
steps:
76+
- name: Checkout code
77+
uses: actions/checkout@v4
78+
- name: Build MCP service image
79+
run: docker build --build-arg MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple --build-arg APT_MIRROR=tsinghua -t nexent/nexent-mcp:${{ github.event.inputs.app_version }} -t nexent/nexent-mcp -f make/mcp/Dockerfile .
80+
7381
deploy:
7482
runs-on: ${{ fromJson(inputs.runner_label_json) }}
75-
needs: [ build-main, build-data-process, build-web, build-docs ]
83+
needs: [ build-main, build-data-process, build-web, build-docs, build-mcp ]
7684
steps:
7785
- name: Checkout code
7886
uses: actions/checkout@v4

0 commit comments

Comments
 (0)