Story #6922
Updated by ipanova@redhat.com over 4 years ago
For example - on the remote registry i have tags ['latest', 'latest-source', 16.1, 16.0-1, 16.0, 16.0-2, 16.2] I want to filter out tags that have '-source'. Source containers can be big and this will impact repo size as well as sync time. We use fnmatch module. Add an option `exclude_tags`. It will also use fnmatch module. Exclude_tags will override include_tags if same tag was mentioned in both places. Examples: include_tags = ['latest', '16.0.*] exclude_tags = ['latest', '.*-source'] What will be mirrored is: [ 16.0-1, 16.0, 16.0-2]