From 3581ce3f215db272ffbd1acde2b5a26c7d161e3e Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Mon, 19 Aug 2024 10:33:32 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"chore(apps/prod/tekton/configs/trigge?= =?UTF-8?q?rs):=20limit=20oci=20artifacts=20push=20ev=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1f72403d5c578fe03c0dbc88b6ead3c08c7ef1bf. --- .../triggers/triggers/_/harbor/artifact-push-on-harbor.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/prod/tekton/configs/triggers/triggers/_/harbor/artifact-push-on-harbor.yaml b/apps/prod/tekton/configs/triggers/triggers/_/harbor/artifact-push-on-harbor.yaml index 50acf7c7f..e0637e42a 100644 --- a/apps/prod/tekton/configs/triggers/triggers/_/harbor/artifact-push-on-harbor.yaml +++ b/apps/prod/tekton/configs/triggers/triggers/_/harbor/artifact-push-on-harbor.yaml @@ -18,7 +18,7 @@ spec: && body.event_data.resources[0].tag.matches('^(master|main)_(darwin|linux)_(amd64|arm64)$') && - body.event_data.resources[0].resource_url.startsWith('hub-mig.pingcap.net/') + body.event_data.resources[0].resource_url.startsWith('hub.pingcap.net/') bindings: - ref: harbor-image-push - { name: nightly, value: "true" } @@ -45,7 +45,7 @@ spec: && body.event_data.resources[0].tag.matches('^(release-[0-9]+[.][0-9]+)_(linux|darwin)_(amd64|arm64)$') && - body.event_data.resources[0].resource_url.startsWith('hub-mig.pingcap.net/') + body.event_data.resources[0].resource_url.startsWith('hub.pingcap.net/') bindings: - ref: harbor-image-push template: @@ -71,7 +71,7 @@ spec: && body.event_data.resources[0].tag.matches('^v[0-9]+[.][0-9]+[.][0-9]+_(linux|darwin)_(amd64|arm64)$') && - body.event_data.resources[0].resource_url.startsWith('hub-mig.pingcap.net/') + body.event_data.resources[0].resource_url.startsWith('hub.pingcap.net/') bindings: - ref: harbor-image-push template: