From c0eff6ebeb75e3ae65727e0561e099f871d7b5d4 Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Thu, 22 Jan 2026 12:13:16 +0200 Subject: [PATCH] quay-pruner/build/util.py: handle debug tag suffix Follow-up to: https://github.com/ceph/ceph/pull/67041 Signed-off-by: Matan Breizman --- quay-pruner/build/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quay-pruner/build/util.py b/quay-pruner/build/util.py index cd3d1dae2..778d1040a 100644 --- a/quay-pruner/build/util.py +++ b/quay-pruner/build/util.py @@ -34,10 +34,10 @@ FULLTAG_RE = re.compile( # 1d7b744e98c74bba9acb22262ef14c776a1e8bfe-crimson-{debug,release} # there are also still older tags with just '-crimson' which ought to still # be handled here -#SHA1_RE = re.compile(r'(?P[0-9a-f]{40})(?P-crimson-debug|-crimson-release|-crimson|-aarch64)*') +#SHA1_RE = re.compile(r'(?P[0-9a-f]{40})(?P-crimson-debug|-crimson-release|-crimson|-debug|-aarch64)*') # ...but, now that we've added an option fromtag, and apparently # switched to arm62, it's more like -SHA1_RE = re.compile(r'(?P[0-9a-f]{40})(?P[a-z0-9-]+)*(?P-crimson-debug|-crimson-release|-crimson|-aarch64)*') +SHA1_RE = re.compile(r'(?P[0-9a-f]{40})(?P[a-z0-9-]+)*(?P-crimson-debug|-crimson-release|-crimson|-debug|-aarch64)*') def parse_full_quay_tag(tag, old=False): -- 2.47.3