concourse / registry-image-resource

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

"version" ERRO[0000] invalid payload: json: unknown field "version" #296

Open reskin89 opened 3 years ago

reskin89 commented 3 years ago

In the latest release, when using the "version" parameter on out/put the error:

ERRO[0000] invalid payload: json: unknown field "version"

Is received, however it is detailed as existing as a parameter in the README

Maghil commented 2 years ago

hey guys any update on this?

jonesleonard commented 1 year ago

I ran into this and it was related to the version of registry-image-resource bundled with my concourse instance running an older version of the resource. That older version did not support the version field.

Someone ran into a similar problem here https://github.com/concourse/registry-image-resource/issues/255.

The solution was to add a newer version of the resource in my pipeline so I could use the version field. There are instructions on how to do that in the linked PR.