name: Flowzone on: pull_request: types: [opened, synchronize, closed] branches: [main, master] pull_request_target: types: [opened, synchronize, closed] branches: [main, master] push: tags: - '*.*.*' jobs: flowzone: name: Flowzone uses: product-os/flowzone/.github/workflows/flowzone.yml@3c882f0261e2580c64fdb60b79dd2ea98ff15d2f # v10.0.23 # prevent duplicate workflow executions for pull_request and pull_request_target if: | ( github.event.pull_request.head.repo.full_name == github.repository && github.event_name == 'pull_request' ) || ( github.event.pull_request.head.repo.full_name != github.repository && github.event_name == 'pull_request_target' ) || ( github.event_name == 'push' ) secrets: FLOWZONE_TOKEN: ${{ secrets.FLOWZONE_TOKEN }} DOCKERHUB_USER: ${{ secrets.DOCKER_REGISTRY_USER }} DOCKERHUB_TOKEN: ${{ secrets.DOCKER_REGISTRY_PASS }} with: disable_versioning: true docker_images: | ghcr.io/klutchell/unbound, klutchell/unbound toggle_auto_merge: false