Skip to content

Update quay retrieval of latest image#194

Merged
hoppea2 merged 1 commit intomainfrom
usr/falfaroc/fix-quay-tag-retrieval
Sep 17, 2025
Merged

Update quay retrieval of latest image#194
hoppea2 merged 1 commit intomainfrom
usr/falfaroc/fix-quay-tag-retrieval

Conversation

@falfaroc
Copy link
Copy Markdown
Contributor

Description

During the recent release cycle, the retrieval of repository images from quay were not returning the correct name.

$ curl -s https://quay.io/api/v1/repository/dell/container-storage-modules/csm-metrics-powerflex/tag/\?limit\=100 | jq -r '.tags[].name' | sort -V | tail -n 1
sha256-fcab1c2ba2c5050f7615487f66082ea99381ab8bb865525d6cfcb0ab572af0c9.sig

For this reason, we updated the path to retrieve the tags in a different manner which should work for all quay repos.

$ curl -s https://quay.io/api/v1/repository/dell/container-storage-modules/csm-metrics-powerflex\?tab\=tags | jq -r '.tags[].name' | sort -V | tail -n 1
v1.12.0

Issues

List the issues impacted by this PR:

Issue ID

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

@hoppea2 hoppea2 merged commit 693aa51 into main Sep 17, 2025
2 checks passed
@hoppea2 hoppea2 deleted the usr/falfaroc/fix-quay-tag-retrieval branch September 17, 2025 19:29
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.

4 participants