Skip to content

Commit bb71dfa

Browse files
committed
chore: update Docker tag handling in release workflow to use the first tag
1 parent 7c1664e commit bb71dfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
# Create dist directory
5656
mkdir -p dist
5757
58-
# Build package using the container we just built
59-
DOCKER_TAG=$(echo "${{ steps.meta-backend.outputs.tags }}" | cut -d' ' -f1)
58+
# Build package using the container we just built - use first tag
59+
DOCKER_TAG=$(echo "${{ steps.meta-backend.outputs.tags }}" | head -n1)
6060
docker run --rm -v "$(pwd)/dist:/dist" "$DOCKER_TAG" sh -c "cd /pyspur/backend && uv build && cp dist/* /dist/"
6161
6262
- name: Publish package to PyPI

0 commit comments

Comments
 (0)