Skip to content

Commit

Permalink
chore: update Docker tag handling in release workflow to use the firs…
Browse files Browse the repository at this point in the history
…t tag
  • Loading branch information
srijanpatel committed Feb 19, 2025
1 parent 7c1664e commit bb71dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
# Create dist directory
mkdir -p dist
# Build package using the container we just built
DOCKER_TAG=$(echo "${{ steps.meta-backend.outputs.tags }}" | cut -d' ' -f1)
# Build package using the container we just built - use first tag
DOCKER_TAG=$(echo "${{ steps.meta-backend.outputs.tags }}" | head -n1)
docker run --rm -v "$(pwd)/dist:/dist" "$DOCKER_TAG" sh -c "cd /pyspur/backend && uv build && cp dist/* /dist/"
- name: Publish package to PyPI
Expand Down

0 comments on commit bb71dfa

Please sign in to comment.