Skip to content

Commit b05b8a0

Browse files
authored
fix: correctly pipe filters in jq invocation (#330)
1 parent 51d3d65 commit b05b8a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ jobs:
8484
# (note the image tag does not include the "v" prefix)
8585
jq --arg version "${{ steps.version.outputs.VERSION }}" \
8686
--arg image "docker.io/grafana/mcp-grafana:${{ steps.image-tag.outputs.IMAGE_TAG }}" \
87-
'.version = $version' \
88-
'.packages[0].identifier = $image' server.json > server.json.tmp
87+
'.version = $version | .packages[0].identifier = $image' server.json > server.json.tmp
8988
mv server.json.tmp server.json
9089
9190
- name: Login to MCP Registry

0 commit comments

Comments
 (0)