diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 3f11565..469cd84 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -274,7 +274,7 @@ jobs: run: | set -euo pipefail echo "Starting post-build cleanup for services: $SERVICES_CSV" - echo "Policy: Keep only 2 SHA tags (running + 1 previous)" + echo "Policy: Keep 10 SHA tags (current + 9 previous)" IFS=',' read -ra SERVICES <<< "$SERVICES_CSV" for service in "${SERVICES[@]}"; do @@ -284,7 +284,7 @@ jobs: --repo "nxtgauge-rust-$service" \ --username "$REGISTRY_USERNAME" \ --password "$REGISTRY_PASSWORD" \ - --keep 2 || echo "Warning: Failed to prune $service (continuing)" + --keep 10 || echo "Warning: Failed to prune $service (continuing)" done - echo "Post-build cleanup completed - only 2 most recent SHA tags kept" + echo "Post-build cleanup completed - 10 most recent SHA tags kept"