Actualiser .gitea/workflows/build-push.yaml
This commit is contained in:
@@ -40,10 +40,10 @@ jobs:
|
|||||||
- name: Build image starting
|
- name: Build image starting
|
||||||
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
||||||
with:
|
with:
|
||||||
server: ${{ env.CHECK_SERVER }}
|
check_server: ${{ env.CHECK_SERVER }}
|
||||||
uuid: ${{ env.CHECK_UUID }}
|
check_uuid: ${{ env.CHECK_UUID }}
|
||||||
command: log
|
check_command: log
|
||||||
message: 'Buildind docker image for $(cat ${{ env.RELEASE_FILE }})'
|
check_message: 'Buildind docker image for $(cat ${{ env.RELEASE_FILE }})'
|
||||||
|
|
||||||
|
|
||||||
- name: Read version file
|
- name: Read version file
|
||||||
@@ -81,27 +81,27 @@ jobs:
|
|||||||
if: cancelled()
|
if: cancelled()
|
||||||
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
||||||
with:
|
with:
|
||||||
server: ${{ env.CHECK_SERVER }}
|
check_server: ${{ env.CHECK_SERVER }}
|
||||||
uuid: ${{ env.CHECK_UUID }}
|
check_uuid: ${{ env.CHECK_UUID }}
|
||||||
command: fail
|
check_command: fail
|
||||||
message: 'Building image cancelled for $(cat ${{ env.RELEASE_FILE }})'
|
check_message: 'Building image cancelled for $(cat ${{ env.RELEASE_FILE }})'
|
||||||
|
|
||||||
- name: Build image failed
|
- name: Build image failed
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
||||||
with:
|
with:
|
||||||
server: ${{ env.CHECK_SERVER }}
|
check_server: ${{ env.CHECK_SERVER }}
|
||||||
uuid: ${{ env.CHECK_UUID }}
|
check_uuid: ${{ env.CHECK_UUID }}
|
||||||
command: fail
|
check_command: fail
|
||||||
message: 'Failed to build docker image for $(cat ${{ env.RELEASE_FILE }})'
|
check_message: 'Failed to build docker image for $(cat ${{ env.RELEASE_FILE }})'
|
||||||
|
|
||||||
- name: Image built and tagged
|
- name: Image built and tagged
|
||||||
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
||||||
with:
|
with:
|
||||||
server: ${{ env.CHECK_SERVER }}
|
check_server: ${{ env.CHECK_SERVER }}
|
||||||
uuid: ${{ env.CHECK_UUID }}
|
check_uuid: ${{ env.CHECK_UUID }}
|
||||||
command: log
|
check_command: log
|
||||||
message: 'Docker image for $(cat ${{ env.RELEASE_FILE }}) built and tagged'
|
check_message: 'Docker image for $(cat ${{ env.RELEASE_FILE }}) built and tagged'
|
||||||
|
|
||||||
- name: Push image to registry
|
- name: Push image to registry
|
||||||
run: |
|
run: |
|
||||||
@@ -114,18 +114,18 @@ jobs:
|
|||||||
if: failure()
|
if: failure()
|
||||||
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
||||||
with:
|
with:
|
||||||
server: ${{ env.CHECK_SERVER }}
|
check_server: ${{ env.CHECK_SERVER }}
|
||||||
uuid: ${{ env.CHECK_UUID }}
|
check_uuid: ${{ env.CHECK_UUID }}
|
||||||
command: fail
|
check_command: fail
|
||||||
message: 'Failed to push docker image for $(cat ${{ env.RELEASE_FILE }})'
|
check_message: 'Failed to push docker image for $(cat ${{ env.RELEASE_FILE }})'
|
||||||
|
|
||||||
- name: End of the image building
|
- name: End of the image building
|
||||||
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/healthchecks-ping@main
|
||||||
with:
|
with:
|
||||||
server: ${{ env.CHECK_SERVER }}
|
check_server: ${{ env.CHECK_SERVER }}
|
||||||
uuid: ${{ env.CHECK_UUID }}
|
check_uuid: ${{ env.CHECK_UUID }}
|
||||||
command: stop
|
check_command: stop
|
||||||
message: 'Docker image for $(cat ${{ env.RELEASE_FILE }}): task done'
|
check_message: 'Docker image for $(cat ${{ env.RELEASE_FILE }}): task done'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user