Skip to content

Commit

Permalink
fix(pingcap/ctl): do not trigger builds for darwin platforms (#1005)
Browse files Browse the repository at this point in the history
Signed-off-by: wuhuizuo <wuhuizuo@126.com>

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo authored Feb 29, 2024
1 parent cb46a04 commit 2f401d2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
value: >-
body.event_data.repository.repo_full_name.matches('^pingcap/tidb/package$')
&&
body.event_data.resources[0].tag.matches('^(master|main)(-[0-9a-f]{7,10})_(darwin|linux)_(amd64|arm64)$')
body.event_data.resources[0].tag.matches('^(master|main)(-[0-9a-f]{7,10})_(linux)_(amd64|arm64)$')
- name: overlays
value:
- key: git-ref
Expand Down Expand Up @@ -52,7 +52,7 @@ spec:
value: >-
body.event_data.repository.repo_full_name.matches('^pingcap/tidb/package$')
&&
body.event_data.resources[0].tag.matches('^release-[0-9]+[.][0-9]+(-[0-9a-f]{7,10})-.*_(linux|darwin)_(amd64|arm64)$')
body.event_data.resources[0].tag.matches('^release-[0-9]+[.][0-9]+(-[0-9a-f]{7,10})-.*_(linux)_(amd64|arm64)$')
- name: overlays
value:
- key: git-ref
Expand All @@ -79,7 +79,7 @@ kind: Trigger
metadata:
name: artifact-push-on-harbor-with-git-tags-tidb
labels:
type: image-push
type: disable-image-push
spec:
interceptors:
- name: filter on image repo names and tags
Expand Down

0 comments on commit 2f401d2

Please sign in to comment.