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:
parent
17f727d957
commit
7b5c8a8d3c
1 changed files with 1 additions and 9 deletions
10
.github/workflows/release-mcp-server.yml
vendored
10
.github/workflows/release-mcp-server.yml
vendored
|
|
@ -3,13 +3,6 @@ name: Release MCP Server
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags: ["mcp-v*.*.*"]
|
tags: ["mcp-v*.*.*"]
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
push_image:
|
|
||||||
description: "Push image to registry (unchecked for testing)"
|
|
||||||
required: false
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: docker.io
|
REGISTRY: docker.io
|
||||||
|
|
@ -46,7 +39,6 @@ jobs:
|
||||||
echo "version=$PROJECT_VERSION" >> $GITHUB_OUTPUT
|
echo "version=$PROJECT_VERSION" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
if: github.event_name != 'workflow_dispatch' || inputs.push_image
|
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
|
|
@ -71,6 +63,6 @@ jobs:
|
||||||
project: v9jv1mlpwc
|
project: v9jv1mlpwc
|
||||||
context: ./mcp_server
|
context: ./mcp_server
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: ${{ github.event_name != 'workflow_dispatch' || inputs.push_image }}
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue