Skip to content

GCrane fails to list all tags available on Quay.io registries #984

@davidalger

Description

@davidalger

Run the following two commands and compare the output. The former returns all 147 tags, the latter only 50 randomly ordered tags.

  • docker run --rm gcr.io/go-containerregistry/crane ls quay.io/prometheus/prometheus
  • docker run --rm gcr.io/go-containerregistry/gcrane ls quay.io/prometheus/prometheus

The verbose output reveals crane is passing n=1000 to the Quay API and GCrane is not. Both appear to possibly be making paginated calls, although apparently not successfully.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions