Skip to content

Commit 7c1664e

Browse files
committed
chore: improve Docker command in release workflow for better tag handling
1 parent 5fbd48f commit 7c1664e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
mkdir -p dist
5757
5858
# Build package using the container we just built
59-
docker run --rm -v $(pwd)/dist:/dist ${{ steps.meta-backend.outputs.tags }} sh -c "cd /pyspur/backend && uv build && cp dist/* /dist/"
59+
DOCKER_TAG=$(echo "${{ steps.meta-backend.outputs.tags }}" | cut -d' ' -f1)
60+
docker run --rm -v "$(pwd)/dist:/dist" "$DOCKER_TAG" sh -c "cd /pyspur/backend && uv build && cp dist/* /dist/"
6061
6162
- name: Publish package to PyPI
6263
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)