Skip to content

Commit 17f8a06

Browse files
fix: Update CI workflow to correctly set version output for Docker tagging in test build job
1 parent dccec11 commit 17f8a06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Extract version
4242
id: extract_version
4343
run: |
44-
echo "VERSION=$(poetry version -s)" >> $GITHUB_ENV
44+
echo "VERSION=$(uv run poetry version -s)" >> $GITHUB_OUTPUT
4545
4646
- name: Set up Docker Buildx
4747
uses: docker/setup-buildx-action@v3
@@ -53,7 +53,7 @@ jobs:
5353
target: fastmcp
5454
push: false
5555
tags: |
56-
madmathematician971/mcp-it-tools:${{ env.VERSION }}
56+
madmathematician971/mcp-it-tools:${{ steps.extract_version.outputs.VERSION }}
5757
madmathematician971/mcp-it-tools:latest
5858
load: true
5959
cache-from: type=gha

0 commit comments

Comments
 (0)