dont fail docker if nothing to delete

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2022-12-14 08:12:19 +01:00 committed by Kristoffer Dalby
parent 2bf576ea8a
commit 53858a32f1

View file

@ -27,8 +27,8 @@ jobs:
- name: Clean up Docker - name: Clean up Docker
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'
run: | run: |
docker kill $(docker ps -q) docker kill $(docker ps -q) || true
docker network prune -f docker network prune -f || true
- name: Run general integration tests - name: Run general integration tests
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'