diff --git a/.github/workflows/build-docker-php.yml b/.github/workflows/build-docker-php.yml index 1532457..4efa317 100644 --- a/.github/workflows/build-docker-php.yml +++ b/.github/workflows/build-docker-php.yml @@ -3,6 +3,12 @@ name: Build and publish PHP Docker image on: release: types: [published] + workflow_dispatch: + inputs: + note: + description: 'Additional note (display on action summary)' + required: false + type: string env: REGISTRY: ghcr.io @@ -41,3 +47,10 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + + - name: Update action summary + run: | + echo "" >> $GITHUB_STEP_SUMMARY # this is a blank line + if [[ "${{ inputs.note }}" != "" ]]; then + echo "> Note: ${{ inputs.note }}" >> $GITHUB_STEP_SUMMARY + fi