Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: Sync tags rejection regex #2902

Closed
vooon opened this issue Jan 20, 2025 · 0 comments · Fixed by #2906
Closed

[Feat]: Sync tags rejection regex #2902

vooon opened this issue Jan 20, 2025 · 0 comments · Fixed by #2906
Labels
feature New feature or request rm-external Roadmap item submitted by non-maintainers

Comments

@vooon
Copy link
Contributor

vooon commented Jan 20, 2025

Is your feature request related to a problem? Please describe.

Due to CI limitations I cannot build multiarch images directly, so i had first to upload x86_64/aarch64 images with arch suffix, then create manifest and push it back.

So as a result on "hidden" source registry i have images like:

  • base:latest
  • base:latest-x86_64
  • base:latest-aarch64

On the "frontend" registry, I'd like to sync only base:latest (or more like base:v1.2.3-g1234567).
The problem that go's regex do not have negate match operation, so it's impossible to write something like .+-(?!x86_64|aarch64)$

Describe the solution you'd like

Add to sync.registries.content.tags - reject_regex, which will filter-out any matched tag from syncing.

Describe alternatives you've considered

No response

Additional context

No response

@vooon vooon added the feature New feature or request label Jan 20, 2025
@rchincha rchincha added the rm-external Roadmap item submitted by non-maintainers label Jan 22, 2025
vooon added a commit to sardinasystems/zot that referenced this issue Jan 23, 2025
vooon added a commit to sardinasystems/zot that referenced this issue Jan 23, 2025
vooon added a commit to sardinasystems/zot that referenced this issue Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request rm-external Roadmap item submitted by non-maintainers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants