Fix exit on error during migrations, CI updates, and improve notices and messages #66
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Publish (PR Images) | |
on: | |
workflow_dispatch: | |
inputs: | |
pr_number: | |
description: 'PR number to build (leave empty for manual branch build)' | |
required: false | |
type: string | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- src/** | |
- .github/workflows/action_publish-images-** | |
- .github/workflows/service_docker-** | |
- scripts/** | |
jobs: | |
build-dev-images: | |
uses: ./.github/workflows/service_docker-build-and-publish.yml | |
with: | |
registry-repositories: "docker.io/serversideup/php-dev" | |
# Use PR number from input if provided, otherwise use the PR event number | |
tag-prefix: ${{ inputs.pr_number || github.event.pull_request.number }} | |
release-type: testing | |
authenticate_with_ghcr: false | |
push-to-registry: >- | |
${{ | |
github.event_name == 'workflow_dispatch' || | |
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.type == 'Organization') | |
}} | |
secrets: inherit |