Skip to content

Commit c06a45a

Browse files
authored
fix: adding key format for mcp registry login (#81)
fix: adding key format
1 parent bf71c99 commit c06a45a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Login to MCP Registry
3838
run: |
3939
echo "${{ secrets.MCP_PRIVATE_KEY }}" > key.pem
40-
./mcp-publisher login dns --domain postman.com --private-key key.pem
40+
./mcp-publisher login dns --domain postman.com --private-key $(openssl pkey -in key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n')
4141
4242
- name: Publish to MCP Registry
4343
run: ./mcp-publisher publish

0 commit comments

Comments
 (0)