Skip to content

Add workflow_dispatch to Docker MCP workflow#352

Merged
kvz merged 1 commit intomainfrom
fix-docker-workflow
Mar 3, 2026
Merged

Add workflow_dispatch to Docker MCP workflow#352
kvz merged 1 commit intomainfrom
fix-docker-workflow

Conversation

@kvz
Copy link
Copy Markdown
Member

@kvz kvz commented Mar 3, 2026

Summary

  • Adds workflow_dispatch trigger with version input to the Docker MCP workflow
  • The release.published event from changesets/action (using GITHUB_TOKEN) doesn't trigger other workflows due to GitHub Actions limitations
  • This allows manual triggering while we figure out the long-term solution (PAT or combined workflow)

Test

After merging, run manually: Actions > Docker MCP Server > Run workflow > version: 0.3.8

🤖 Generated with Claude Code

The release.published event from changesets/action (using GITHUB_TOKEN)
does not trigger other workflows due to GitHub Actions limitations.
Add workflow_dispatch as a manual trigger with version input.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9832f17b67

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

TAG="${{ github.event.release.tag_name }}"
VERSION="${TAG#@transloadit/mcp-server@}"
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
VERSION="${{ github.event.inputs.version }}"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Bind manual image tag to the code ref being built

For workflow_dispatch, the version is taken verbatim from ${{ github.event.inputs.version }} here, but the job still builds whatever ref was dispatched (typically main via actions/checkout@v4). That means triggering this workflow after main has advanced (or entering an older version) can publish a mismatched image under that semver tag (and latest), which can ship incorrect code to users. The manual path should derive the tag from the checked-out source or explicitly check out the release tag that matches the requested version.

Useful? React with 👍 / 👎.

@kvz kvz merged commit 74aca70 into main Mar 3, 2026
14 checks passed
@kvz kvz deleted the fix-docker-workflow branch March 3, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant