Remove workflow_dispatch trigger from MCP server release

Simplify workflow to only trigger on mcp-v*.*.* tags.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Daniel Chalef 2025-10-26 18:06:45 -07:00
parent 17f727d957
commit 7b5c8a8d3c

View file

@ -3,13 +3,6 @@ name: Release MCP Server
on:
push:
tags: ["mcp-v*.*.*"]
workflow_dispatch:
inputs:
push_image:
description: "Push image to registry (unchecked for testing)"
required: false
default: false
type: boolean
env:
REGISTRY: docker.io
@ -46,7 +39,6 @@ jobs:
echo "version=$PROJECT_VERSION" >> $GITHUB_OUTPUT
- name: Log in to Docker Hub
if: github.event_name != 'workflow_dispatch' || inputs.push_image
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
@ -71,6 +63,6 @@ jobs:
project: v9jv1mlpwc
context: ./mcp_server
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'workflow_dispatch' || inputs.push_image }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}