-
Notifications
You must be signed in to change notification settings - Fork 901
Closed
Labels
kind/featureA request for, or a PR adding, new functionalityA request for, or a PR adding, new functionalitylocked - please file new issue/PRstale-issue
Description
We use Sonatype Nexus as Image Repository. When calling the tags/list Endpoint of some images a 'null' Tag is returned:
{
"name": "imagename",
"tags": [
null,
"1.0.0-1",
"1.0.0-10",
"1.0.0-11",
"1.0.0-12",
[...]
This causes Skopeo inspect to fail with error "Error determining repository tags: registry returned invalid tag "": invalid tag format"
Running the following command produces the output below:
skopeo --debug inspect docker://my-nexus.mydomain/my-image:1.0.1-3
...
time="2024-08-27T14:30:44+02:00" level=debug msg="GET https://my-nexus.mydomain/my-image/tags/list"
time="2024-08-27T14:31:04+02:00" level=fatal msg="Error determining repository tags: registry returned invalid tag \"\": invalid tag format"
The error occurs with Skopeo versions 1.14.4. and newer. With Skopeo versions 1.14.3 and older (did not test all older versions) the error does not occur.
Is this a bug or a feature?
Metadata
Metadata
Assignees
Labels
kind/featureA request for, or a PR adding, new functionalityA request for, or a PR adding, new functionalitylocked - please file new issue/PRstale-issue