obscreen/.github/workflows/build-pr.yml
2024-08-08 04:27:37 +02:00

26 lines
644 B
YAML
Executable File

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: ""