From fd66fcb9d237e083fbeb94b2a49b1f2be148476a Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Fri, 27 Sep 2024 16:20:05 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"chore(apps/prod/tekton/configs/trigge?= =?UTF-8?q?rs):=20tmp=20disable=20sync=20for=20lt=20v8.=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1da5a4856ae6dc568bce5f134407cca7a0c77347. --- .../triggers/triggers/_/harbor/image-push-on-harbor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/prod/tekton/configs/triggers/triggers/_/harbor/image-push-on-harbor.yaml b/apps/prod/tekton/configs/triggers/triggers/_/harbor/image-push-on-harbor.yaml index 4ba8f03fb..b71e8c9cc 100644 --- a/apps/prod/tekton/configs/triggers/triggers/_/harbor/image-push-on-harbor.yaml +++ b/apps/prod/tekton/configs/triggers/triggers/_/harbor/image-push-on-harbor.yaml @@ -47,7 +47,7 @@ spec: && ! body.event_data.repository.repo_full_name.matches('/package(s)?') ) && - body.event_data.resources[0].tag.matches('^(master|main|release-[0-9]+[.][0-9]+|v8[.][0-9]+[.][0-9]+(-pre)?)(-[0-9a-f]+)?(-(enterprise|failpoint))?$') + body.event_data.resources[0].tag.matches('^(master|main|release-[0-9]+[.][0-9]+|v[0-9]+[.][0-9]+[.][0-9]+(-pre)?)(-[0-9a-f]+)?(-(enterprise|failpoint))?$') && body.event_data.resources[0].resource_url.startsWith('hub.pingcap.net/')