Actualiser .gitea/workflows/build-push.yaml
All checks were successful
Build and Push Docker Image / build (push) Successful in 44s
Check BlueSky Crossposter version / check-version (push) Successful in 17s

This commit is contained in:
2025-04-05 22:57:13 +02:00
parent 16c491723e
commit e050fbb0a7

View File

@@ -41,7 +41,7 @@ jobs:
docker build --tag gargoton.petite-maison-orange.fr/image/blueskycrossposter:latest .
- name: Build image failed
if: failed()
if: failure()
run: |
curl -fsS -m 10 --retry 5 \
--data-raw "Failed to build docker image for $(cat bluesky_crossposter_latest.txt)" \
@@ -54,7 +54,7 @@ jobs:
docker push gargoton.petite-maison-orange.fr/image/blueskycrossposter:latest
- name: Push image failed
if: failed()
if: failure()
run: |
curl -fsS -m 10 --retry 5 \
--data-raw "Failed to push docker image for $(cat bluesky_crossposter_latest.txt)" \
@@ -68,4 +68,13 @@ jobs:
--data-raw "Build docker image for $(cat bluesky_crossposter_latest.txt)" \
https://haoma.petite-maison-orange.fr/ping/814308c3-d90c-4511-b236-c40b37a5ad23
shell: bash
- name: Canceled building
if: cancelled()
run: |
curl -fsS -m 10 --retry 5 \
--data-raw "Building image cancelled for $(cat bluesky_crossposter_latest.txt)" \
https://haoma.petite-maison-orange.fr/ping/814308c3-d90c-4511-b236-c40b37a5ad23/fail
exit 1
shell: bash