You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We fail to parse manifest information from the dockerhub registry as returned API response is in a different schema, we are currently expect Image Manifest V 2, Schema 1 but the API returns Image Manifest V 2, Schema 2
Reproduction
Ensure verbose logging is enabled
Create a docker hub feed
Create a deployment process that references a official docker image e.g. nginx
Deploy
Error and Stacktrace
Unable to extract labels from Image manifest so they will not be included in the deployment variables Sequence contains no elements
System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Octopus.Core.Packages.Docker.DockerAdditionalVariablesContributor.ExtractManifestLabels(DockerFeed feed, String packageId, IVersion version) in /Users/travis/dev/OctopusDeploy/source/Octopus.Core/Packages/Docker/DockerAdditionalVariablesContributor.cs:line 78
Severity
Non blocking
Version
Latest
Latest Version
I could reproduce the problem in the latest build
What happened?
We fail to parse manifest information from the dockerhub registry as returned API response is in a different schema, we are currently expect
Image Manifest V 2, Schema 1
but the API returnsImage Manifest V 2, Schema 2
Reproduction
Ensure verbose logging is enabled
Error and Stacktrace
More Information
Issue occurs here https://github.com/OctopusDeploy/OctopusDeploy/blob/e6f2c8085dcb27c5adc38242094fb786a12c79c1/source/Octopus.Core/Packages/Docker/DockerAdditionalVariablesContributor.cs#L77
Workaround
No response
The text was updated successfully, but these errors were encountered: