From 7974d4a7f749535e66e5c77f9cfb19ae8eb989ab Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Mon, 18 Dec 2023 20:31:39 +0800 Subject: [PATCH] chore(apps/prod/tekton/configs/tasks): support those tags to be merged - release-1.0-1234567-debug => release-1.0-debug Signed-off-by: wuhuizuo --- apps/prod/tekton/configs/tasks/multi-arch-image-collect.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/prod/tekton/configs/tasks/multi-arch-image-collect.yaml b/apps/prod/tekton/configs/tasks/multi-arch-image-collect.yaml index d2d3d0558..ec51d6f76 100644 --- a/apps/prod/tekton/configs/tasks/multi-arch-image-collect.yaml +++ b/apps/prod/tekton/configs/tasks/multi-arch-image-collect.yaml @@ -59,7 +59,7 @@ spec: # [master-00595b4-release] => [master-00595b4-release, master-00595b4] tags="$tags $(echo $tag | sed -E 's/[-_]$(params.release_tag_suffix)$//g')" # [..., master-00595b4] => [..., master-00595b4, master] - tags="$tags $(echo ${tags##* } | sed -E 's/[-][0-9a-f]{7,40}$//g')" + tags="$tags $(echo ${tags##* } | sed -E 's/[-][0-9a-f]{7,40}//g')" # for tags for t in $tags; do