name: PR build and push docker image on: pull_request: types: [opened, synchronize, labeled] push: branches-ignore: - master - develop - nightly jobs: build-and-push-pr: runs-on: ubuntu-latest if: contains(github.event.pull_request.labels.*.name, 'build-pr') steps: - name: Checkout repository uses: actions/checkout@v4 - name: Call common build workflow uses: ./.github/workflows/common-docker-build.yml with: build_tags: jierka/obscreen:pr-${{ github.event.pull_request.number }} manifest_tags: type=semver,pattern=pr flavor: ""