We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1a0d020 + 76f934a commit 671c4bbCopy full SHA for 671c4bb
1 file changed
.github/workflows/publish-mcp.yml
@@ -38,8 +38,13 @@ jobs:
38
39
- name: Login to MCP Registry
40
run: |
41
- echo "${{ secrets.MCP_PRIVATE_KEY }}" > key.pem
42
- ./mcp-publisher login dns -domain onkernel.com --private-key $(openssl pkey -in key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n')
+ KEY_B64='${{ secrets.MCP_PRIVATE_KEY }}'
+ ./mcp-publisher login dns --domain onkernel.com --private-key "$(
43
+ printf '-----BEGIN PRIVATE KEY-----\n%s\n-----END PRIVATE KEY-----\n' "$KEY_B64" \
44
+ | openssl pkey -in /dev/stdin -noout -text 2>/dev/null \
45
+ | awk '/priv:/{p=1;next}/pub:/{p=0}p' \
46
+ | tr -d ' :\n'
47
+ )"
48
49
- name: Publish to MCP Registry
50
run: ./mcp-publisher publish
0 commit comments