Actualiser action.yaml

This commit is contained in:
2025-04-14 16:45:51 +02:00
parent 76a76b37e4
commit 51228655ef

View File

@@ -179,3 +179,21 @@ runs:
push_command: '${{ inputs.tag_command }}'
debug: ${{ inputs.debug }}
- name: Push 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 push docker image for ${{ inputs.image_name }}'
debug: ${{ inputs.debug }}
- name: End of the image building
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: stop
check_message: 'Docker image for ${{ inputs.image_name }}: task done'