Skip to content

Commit 1d1d966

Browse files
committed
publish-image: drop redundant release trigger
The 'release: published' trigger fired after the tag-push trigger for the same release, causing mcp-publisher to attempt a duplicate publish which the registry rejects with HTTP 400 'cannot publish duplicate version'. The tag-push trigger alone covers our git tag -> gh release create flow, so the second trigger was pure duplicate work.
1 parent 246b184 commit 1d1d966

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/publish-image.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ on:
1717
push:
1818
tags: ['v*.*.*']
1919
branches: [main]
20-
release:
21-
types: [published] # also fire when a Release is created from an existing tag (UI flow)
2220
workflow_dispatch: {}
2321

2422
permissions:

0 commit comments

Comments
 (0)