don't fail if the engine is not running

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
This commit is contained in:
Marcos Lilljedahl 2023-12-29 12:47:06 -03:00
parent 6a288cfe4d
commit b7d1e6beb9
No known key found for this signature in database

View file

@ -50,6 +50,7 @@ runs:
env:
INPUT_MODULE: ${{ inputs.module }}
- run: docker stop -t 300 $(docker ps --filter name="dagger-engine-*" -q)
# if the engine is not running, ingore the fail
- run: docker stop -t 300 $(docker ps --filter name="dagger-engine-*" -q) || true
shell: bash
if: ${{ always() }}