Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ jobs:
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
"$archive"
tar xzf "$archive" mcp-publisher
# server.json in the repo names the last version; the release's tag names this one
# server.json leaves the version out; the release's tag gives it to the listing and its image
- run: |
v="${GITHUB_REF_NAME#v}"
jq --arg v "$v" '.version = $v | .packages[0].identifier = "ghcr.io/bukely/peerbox:" + $v' server.json > server.tmp
jq --arg v "$v" '.version = $v | .packages[0].identifier += ":" + $v' server.json > server.tmp
mv server.tmp server.json
- run: ./mcp-publisher login github-oidc
- run: ./mcp-publisher publish
3 changes: 1 addition & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"icons": [
{ "src": "https://peerbox.net/icon.png", "mimeType": "image/png", "sizes": ["128x128"] }
],
"version": "0.2.10",
"remotes": [
{
"type": "streamable-http",
Expand All @@ -21,7 +20,7 @@
"packages": [
{
"registryType": "oci",
"identifier": "ghcr.io/bukely/peerbox:0.2.10",
"identifier": "ghcr.io/bukely/peerbox",
"transport": {
"type": "streamable-http",
"url": "http://localhost:{PORT}/mcp"
Expand Down