Compare commits
3 Commits
pxpeterxu-
...
feat/multi
Author | SHA1 | Date | |
---|---|---|---|
3613596cd7 | |||
fcb71e293e | |||
cb36c007cb |
1
.github/workflows/docker-publish.yml
vendored
1
.github/workflows/docker-publish.yml
vendored
@ -34,5 +34,6 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"action": "published",
|
"action": "published",
|
||||||
"release": {
|
"release": {
|
||||||
"tag_name": "v1.0.52"
|
"tag_name": "v1.0.53"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@zereight/mcp-gitlab",
|
"name": "@zereight/mcp-gitlab",
|
||||||
"version": "1.0.52",
|
"version": "1.0.53",
|
||||||
"description": "MCP server for using the GitLab API",
|
"description": "MCP server for using the GitLab API",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "zereight",
|
"author": "zereight",
|
||||||
|
12
schemas.ts
12
schemas.ts
@ -618,21 +618,21 @@ export const GitLabDiscussionNoteSchema = z.object({
|
|||||||
old_path: z.string(),
|
old_path: z.string(),
|
||||||
new_path: z.string(),
|
new_path: z.string(),
|
||||||
position_type: z.enum(["text", "image", "file"]),
|
position_type: z.enum(["text", "image", "file"]),
|
||||||
old_line: z.number().nullable(),
|
old_line: z.number().nullish(), // This is missing for image diffs
|
||||||
new_line: z.number().nullable(),
|
new_line: z.number().nullish(), // This is missing for image diffs
|
||||||
line_range: z
|
line_range: z
|
||||||
.object({
|
.object({
|
||||||
start: z.object({
|
start: z.object({
|
||||||
line_code: z.string(),
|
line_code: z.string(),
|
||||||
type: z.enum(["new", "old", "expanded"]),
|
type: z.enum(["new", "old", "expanded"]),
|
||||||
old_line: z.number().nullable(),
|
old_line: z.number().nullish(), // This is missing for image diffs
|
||||||
new_line: z.number().nullable(),
|
new_line: z.number().nullish(), // This is missing for image diffs
|
||||||
}),
|
}),
|
||||||
end: z.object({
|
end: z.object({
|
||||||
line_code: z.string(),
|
line_code: z.string(),
|
||||||
type: z.enum(["new", "old", "expanded"]),
|
type: z.enum(["new", "old", "expanded"]),
|
||||||
old_line: z.number().nullable(),
|
old_line: z.number().nullish(), // This is missing for image diffs
|
||||||
new_line: z.number().nullable(),
|
new_line: z.number().nullish(), // This is missing for image diffs
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
.nullable()
|
.nullable()
|
||||||
|
@ -10,9 +10,9 @@ IMAGE_NAME=gitlab-mcp
|
|||||||
IMAGE_VERSION=$(jq -r '.version' package.json)
|
IMAGE_VERSION=$(jq -r '.version' package.json)
|
||||||
|
|
||||||
echo "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}"
|
echo "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}"
|
||||||
docker build --platform=linux/arm64 -t "${DOCKER_USER}/${IMAGE_NAME}:latest" .
|
|
||||||
|
|
||||||
docker tag "${DOCKER_USER}/${IMAGE_NAME}:latest" "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}"
|
docker buildx build --platform linux/arm64,linux/amd64 \
|
||||||
|
-t "${DOCKER_USER}/${IMAGE_NAME}:latest" \
|
||||||
docker push "${DOCKER_USER}/${IMAGE_NAME}:latest"
|
-t "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}" \
|
||||||
docker push "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}"
|
--push \
|
||||||
|
.
|
||||||
|
Reference in New Issue
Block a user