ci: Use podman for persistent workers

Github-Pull: #27777
Rebased-From: fa123077bc
This commit is contained in:
MarcoFalke 2023-05-30 10:29:01 +02:00 committed by fanquake
parent 71f626ef2c
commit de56daab41
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -40,7 +40,7 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then
if [ -n "${RESTART_CI_DOCKER_BEFORE_RUN}" ] ; then
echo "Restart docker before run to stop and clear all containers started with --rm"
systemctl restart docker
podman container kill --all # Similar to "systemctl restart docker"
echo "Prune all dangling images"
docker image prune --force
fi