generated from pmo-actions/healthchecks-ping
Actualiser action.yaml
This commit is contained in:
18
action.yaml
18
action.yaml
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user