File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,17 @@ jobs:
6666 - name : Install dependencies
6767 run : |
6868 sudo apt-get update && sudo apt-get install -y jq
69- curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.2.3 /mcp-publisher_1.2.3_linux_amd64 .tar.gz" | tar xz mcp-publisher
69+ curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.3.0 /mcp-publisher_1.3.0_linux_amd64 .tar.gz" | tar xz mcp-publisher
7070 chmod +x mcp-publisher
7171 sudo mv mcp-publisher /usr/local/bin/
7272
7373 - name : Update server.json with Docker image
7474 run : |
7575 # Update the server.json with the correct Docker image reference
7676 # (note the image tag does not include the "v" prefix)
77- jq --arg image "docker.io/grafana/mcp-grafana:${{ steps.image-tag.outputs.IMAGE_TAG }}" \
77+ jq --arg version "${{ steps.version.outputs.VERSION }}" \
78+ --arg image "docker.io/grafana/mcp-grafana:${{ steps.image-tag.outputs.IMAGE_TAG }}" \
79+ '.version = $version' \
7880 '.packages[0].identifier = $image' server.json > server.json.tmp
7981 mv server.json.tmp server.json
8082
Original file line number Diff line number Diff line change 11# Build stage
22FROM golang:1.24-bullseye AS builder
33
4- LABEL io.modelcontextprotocol.server.name="io.github.grafana/mcp-grafana"
5-
64# Set the working directory
75WORKDIR /app
86
@@ -21,6 +19,8 @@ RUN go build -o mcp-grafana ./cmd/mcp-grafana
2119# Final stage
2220FROM debian:bullseye-slim
2321
22+ LABEL io.modelcontextprotocol.server.name="io.modelcontextprotocol.anonymous/mcp-grafana"
23+
2424# Install ca-certificates for HTTPS requests
2525RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
2626
You can’t perform that action at this time.
0 commit comments