Skip to content

Commit

Permalink
feat(pingcap/tidb-operator): delivery v2.x.y images to external regis…
Browse files Browse the repository at this point in the history
…tries (#1410)

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo authored Jan 23, 2025
1 parent 6e12d65 commit 4d65ab8
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,15 @@ 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]+|v[0-9]+[.][0-9]+[.][0-9]+(-pre)?)(-[0-9a-f]+)?(-(enterprise|failpoint))?$')
||
(
body.event_data.repository.repo_full_name.matches('^pingcap/tidb-operator/')
&&
body.event_data.resources[0].tag.matches('^v2[.][0-9]+[.][0-9]+')
)
)
&&
body.event_data.resources[0].resource_url.startsWith('hub.pingcap.net/')
Expand Down

0 comments on commit 4d65ab8

Please sign in to comment.