Skip to content

fix: quay tag resolution for rhdh version - #182

Merged
subhashkhileri merged 2 commits into
redhat-developer:mainfrom
jrichter1:search-quay-tags
Oct 8, 2026
Merged

subhashkhileri merged 2 commits into
redhat-developer:mainfrom
jrichter1:search-quay-tags

Conversation

@jrichter1

@jrichter1 jrichter1 commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

fixes for both semantic versions and next - instead of hoping the tag would appear within a certain limit, use pagination to search the whole repo

test run: redhat-developer/rhdh-plugin-export-overlays#4275

Comment thread src/deployment/rhdh/deployment.ts Outdated
const tags = [];
for (let page = 1; ; page++) {
const response = await fetch(
`https://quay.io/api/v1/repository/${org}/${repo}/tag/?onlyActiveTags=true&limit=600&page=${page}`,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we filter tags with filter_tag_name=like:${resolvedVersion}- and keep pagination? This could be faster and require fewer API calls.

@subhashkhileri
subhashkhileri merged commit 13a82da into redhat-developer:main Oct 8, 2026
3 checks passed
subhashkhileri pushed a commit that referenced this pull request Oct 8, 2026
* fix: quay tag resolution for rhdh version

* reduce the amount of API calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants