mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
try to fix script to clean given docker images
This commit is contained in:
@@ -5,7 +5,7 @@ echo $imagesToBeDeleted
|
||||
echo "List all images:"
|
||||
docker images -a
|
||||
|
||||
docker_images_list=$(docker images | grep '$imagesToBeDeleted' | awk '{print $3}' | uniq)
|
||||
docker_images_list=$(docker images | grep $imagesToBeDeleted | awk '{print $3}' | uniq)
|
||||
if [ "$docker_images_list" == "" ]; then
|
||||
echo "No docker images on the agent"
|
||||
else
|
||||
|
Reference in New Issue
Block a user