Skip to content

Commit

Permalink
chore: improve Docker command in release workflow for better tag hand…
Browse files Browse the repository at this point in the history
…ling
  • Loading branch information
srijanpatel committed Feb 19, 2025
1 parent 5fbd48f commit 7c1664e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
mkdir -p dist
# Build package using the container we just built
docker run --rm -v $(pwd)/dist:/dist ${{ steps.meta-backend.outputs.tags }} sh -c "cd /pyspur/backend && uv build && cp dist/* /dist/"
DOCKER_TAG=$(echo "${{ steps.meta-backend.outputs.tags }}" | cut -d' ' -f1)
docker run --rm -v "$(pwd)/dist:/dist" "$DOCKER_TAG" sh -c "cd /pyspur/backend && uv build && cp dist/* /dist/"
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 7c1664e

Please sign in to comment.