ci: remove unused docker images [skip ci]
This commit is contained in:
@@ -25,7 +25,7 @@ while read -r line; do
|
|||||||
id="$line"
|
id="$line"
|
||||||
echo "Processing image $id"
|
echo "Processing image $id"
|
||||||
## Workaround for https://github.com/cli/cli/issues/4286 and https://github.com/cli/cli/issues/3937
|
## Workaround for https://github.com/cli/cli/issues/4286 and https://github.com/cli/cli/issues/3937
|
||||||
#echo -n | gh api --method DELETE /user/packages/container/${container}/versions/${id} --input -
|
echo -n | gh api --method DELETE /user/packages/container/${container}/versions/${id} --input -
|
||||||
echo Dangling image with ID $id deleted successfully
|
echo Dangling image with ID $id deleted successfully
|
||||||
done <<< $ids_to_delete
|
done <<< $ids_to_delete
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user