-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
area/replicationkind/requirementNew feature or idea on top of harborNew feature or idea on top of harbor
Description
Hi all,
Need
I want replicate images from a namespace. But only need replicate tags "stable" to save my storage
On docker hub :
1.10.0-alpha1.9.011.9.01.9.0-rc21.9.0-rc11.8.0
Need get on my harbor :
1.9.011.9.01.8.0
So ignore pre release version and alpha version to save storage.
Problem
Try configure my replication rule with existing filters (cf. https://github.com/goharbor/harbor/blob/master/docs/user_guide.md#resource-filter)
*.*.*=> but1.9.0-rc1match?.?.?=> but1.9.01not match{?.?.?,?.??.??}=> Ok, but 1.10.0 soon available and so don't match
Problem : It is necessary to update the filter regularly so that my replication rule works in the future
Proposal solutions
1 - Add a pattern to match only number, like \d with regex
2 - Add more versatile replication filter like composer *, ~, ^, <, =, > (cf. https://getcomposer.org/doc/articles/versions.md#versions-and-constraints)
3 - Simply use regex as pattern to configure filter
tkatkov, kvitajakub, matlec, deschmih, petvaa01 and 33 moredeschmih, YAMLcase, finkr, cazzoo, dkulchinsky and 3 morekvitajakub, YAMLcase, cazzoo, freznicek, dkulchinsky and 3 more
Metadata
Metadata
Assignees
Labels
area/replicationkind/requirementNew feature or idea on top of harborNew feature or idea on top of harbor