Cleanup GHA node after building images
This commit is contained in:
parent
c7147311f8
commit
db5a944396
@ -74,7 +74,5 @@ fi
|
|||||||
|
|
||||||
docker images
|
docker images
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
# Cleanup old images from arm64 node.
|
||||||
echo "failed building image"
|
docker image prune -a --force --filter "until=24h"
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
|
Loading…
Reference in New Issue
Block a user