mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
ci: Use podman for persistent workers
Github-Pull: #27777
Rebased-From: fa123077bc
This commit is contained in:
parent
0db69a3d50
commit
7f1357de51
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then
|
||||||
|
|
||||||
if [ -n "${RESTART_CI_DOCKER_BEFORE_RUN}" ] ; then
|
if [ -n "${RESTART_CI_DOCKER_BEFORE_RUN}" ] ; then
|
||||||
echo "Restart docker before run to stop and clear all containers started with --rm"
|
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"
|
echo "Prune all dangling images"
|
||||||
docker image prune --force
|
docker image prune --force
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue