mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Ignore errors during container cleanup in CI.
This commit is contained in:
parent
e41b98ffb5
commit
b2f354ce29
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ docker images quay.io/ansible/*
|
|||
docker ps
|
||||
|
||||
for container in $(docker ps --format '{{.Image}} {{.ID}}' | grep -v '^drydock/' | sed 's/^.* //'); do
|
||||
docker rm -f "${container}"
|
||||
docker rm -f "${container}" || true # ignore errors
|
||||
done
|
||||
|
||||
docker ps
|
||||
|
|
Loading…
Reference in a new issue