Respect `no-build` label in Docker image builds (#11333)

e.g., https://github.com/astral-sh/uv/pull/11329 is runner Docker image
builds but should not
This commit is contained in:
Zanie Blue 2025-02-07 20:17:59 -06:00 committed by GitHub
parent 12e7abe093
commit e22ecee36b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ env:
jobs:
docker-build:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-build') }}
name: Build Docker image (ghcr.io/astral-sh/uv) for ${{ matrix.platform }}
runs-on: ubuntu-latest
environment: