registry-image-resource icon indicating copy to clipboard operation
registry-image-resource copied to clipboard

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

Open reskin89 opened this issue 3 years ago • 2 comments

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

reskin89 avatar Aug 13 '21 18:08 reskin89

hey guys any update on this?

Maghil avatar Mar 28 '22 17:03 Maghil

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.

jonesleonard avatar Sep 20 '22 16:09 jonesleonard