concourse / registry-image-resource

a resource for images in a Docker registry
Apache License 2.0
89 stars 107 forks source link

Support sorting of tag_image_regex output #352

Closed exp0nge closed 5 months ago

exp0nge commented 5 months ago

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

Currently docker registry does not support sorting: https://github.com/docker/hub-feedback/issues/185

This means the list endpoint for tags returns a randomly sorted list of images.

Describe the solution you'd like

After matching patterns in, there should be an option to apply a sort.

Describe alternatives you've considered

No response

Additional context

I will propose a PR for this.