trying to prevent deletion of all tags if less than 10 are present
All checks were successful
Build Docker Image / Docker-Build (push) Successful in 15s
Build Docker Image / Clean-Registry (push) Successful in 3s

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-01-03 23:21:53 +01:00
parent 5f40afbbb8
commit 2168fca509

View File

@@ -53,7 +53,7 @@ jobs:
REMAIN=$((COUNT - 10))
echo "$TAGS" | head -n $REMAIN > /tmp/old_tags
else
echo "less than 10 tags, skipping cleanup
echo "less than 10 tags, skipping cleanup"
echo "" > /tmp/old_tags
fi