Skip to content

Commit 3d920fd

Browse files
committed
Refine reclaim space script
See gh-42776
1 parent 2f21dda commit 3d920fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/scripts/reclaim-docker-diskspace.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ docker image ls --format "{{.Size}} {{.ID}} {{.Repository}} {{.Tag}}" | LANG=en_
66
image=$( echo "$line" | cut -d' ' -f2 )
77
repository=$( echo "$line" | cut -d' ' -f3 )
88
tag=$( echo "$line" | cut -d' ' -f4 )
9+
echo "Considering $image $repository:$tag $size"
910
if [[ "$tag" =~ ^[a-f0-9]{32}$ ]]; then
1011
echo "Ignoring GitHub action image $image $repository:$tag"
1112
elif [[ "$tag" == "<none>" ]]; then

0 commit comments

Comments
 (0)