Skip to content

Commit

Permalink
feat: enable release-x.x image sync to qa repo (#965)
Browse files Browse the repository at this point in the history
# Why:
- enale sync rc image to qa. 
- eg. hub.pingcap.net/tikv/pd/image:release-x.x ->
hub.pingcap.net/qa/pd:release-x.x

---------

Signed-off-by: lijie <lijie@pingcap.com>
Co-authored-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
lijie and wuhuizuo authored Feb 21, 2024
1 parent b75d691 commit b32db9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
&& !
body.event_data.repository.repo_full_name.matches('/package(s)?')
) &&
body.event_data.resources[0].tag.matches('^(master|main)(-[0-9a-f]+)?$')
body.event_data.resources[0].tag.matches('^(master|main|release-[0-9]+[.][0-9]+)(-[0-9a-f]+)?$')
bindings:
- ref: harbor-image-push
Expand Down

0 comments on commit b32db9b

Please sign in to comment.