Actualiser action.yaml

This commit is contained in:
2025-04-14 16:31:02 +02:00
parent 3d8e897d53
commit 73e5eddbfb

View File

@@ -137,4 +137,34 @@ runs:
tag_command: '${{ inputs.tag_command }}'
debug: ${{ inputs.debug }}
- name: Canceled building
if: cancelled() && inputs.check_server != '' && inputs.check_uuid != ''
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
with:
check_server: ${{ inputs.check_server }}
check_uuid: ${{ inputs.check_uuid }}
check_command: fail
check_message: 'Building image cancelled for ${{ inputs.image_name }}'
debug: ${{ inputs.debug }}
- name: Build image failed
if: failure() && inputs.check_server != '' && inputs.check_uuid != ''
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
with:
check_server: ${{ inputs.check_server }}
check_uuid: ${{ inputs.check_uuid }}
check_command: fail
check_message: 'Failed to build docker image for ${{ inputs.image_name }}'
debug: ${{ inputs.debug }}
- name: Image built and tagged
if: inputs.check_server != '' && inputs.check_uuid != ''
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
with:
check_server: ${{ inputs.check_server }}
check_uuid: ${{ inputs.check_uuid }}
check_command: log
check_message: 'Docker image for ${{ inputs.image_name }} built and tagged'
debug: ${{ inputs.debug }}