Skip to content

Commit d89fbc3

Browse files
authored
Fix workflow (#20)
2 parents fd2994d + 1f7fbd9 commit d89fbc3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release-docker.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ permissions:
1313
jobs:
1414
docker:
1515
runs-on: ubuntu-latest
16+
permissions:
17+
id-token: write
18+
contents: write
1619
steps:
1720
- name: Checkout
1821
uses: actions/checkout@v4
@@ -66,8 +69,8 @@ jobs:
6669
cd ..
6770
chmod +x mcp-publisher
6871
69-
- name: Login to MCP Registry
70-
run: ./mcp-publisher login github --token ${{ secrets.MCP_GITHUB_TOKEN }}
72+
- name: Login to MCP Registry (OIDC)
73+
run: ./mcp-publisher login github-oidc
7174

7275
- name: Publish to MCP Registry
7376
run: ./mcp-publisher publish

0 commit comments

Comments
 (0)