From be0fa8ca6b7f8360f4c27b10c85f36398459b2da Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Wed, 29 Oct 2025 21:58:36 +0200 Subject: [PATCH] Fix the image tag to strip the v prefix (#726) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Motivation and Context We forgot to strip the v prefix when we made the switch to ko so this PR fixes it. Once we merge it we'll cut a new release so we can apply this change 👍 ## How Has This Been Tested? ## Breaking Changes ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist - [ ] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [ ] My code follows the repository's style guidelines - [ ] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context Signed-off-by: Radoslav Dimitrov --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8bd9b99..fca9ec2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,8 +69,9 @@ jobs: id: build-info run: | echo "timestamp=$(date -u +%Y-%m-%dT%H:%M:%SZ)" >> $GITHUB_OUTPUT - # Extract version from tag (e.g., refs/tags/v1.2.3 -> v1.2.3) + # Extract version from tag and strip 'v' prefix (e.g., refs/tags/v1.2.3 -> 1.2.3) VERSION="${GITHUB_REF#refs/tags/}" + VERSION="${VERSION#v}" echo "version=$VERSION" >> $GITHUB_OUTPUT - name: Build and push with ko