-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hi, getting this constantly: Error: Unexpected end of JSON input #80
Comments
Behind the scenes, the scan-action is using the Could you tell me what image you are scanning so that I can try to reproduce this locally? |
@alfredodeza In case this is any help, there's a possibility that this is related to anchore/syft#252, which was resolved in syft v0.12.4 (which was brought into grype v0.7.0). It's not the same exact error message, but the fix in Syft involved adding a |
Hi, the image in question is from: https://github.com/UKHomeOffice/workflow-service |
@hed95 do you have a pre-built version of it? I can't get it to work with
|
Hi @alfredodeza unfortunately not - if you look at https://github.com/UKHomeOffice/workflow-service/blob/master/.github/workflows/build-docker.yml you can see how to build. (The jar needs to be created first) |
@hed95 since I can't build this to reproduce, it would be helpful if you could try reproducing the failure using To install the latest version of
And to install what we think is having a problem:
If you could scan your image with those two, and confirm that it works with the latest version (and broken with 0.12.0) that would be fantastic. This would mean we can bump those versions here, and cut a release |
Hi, Yeah it is this:
The 0.12.6 succesfully runs& catalogs:
|
Perfect! Thanks for double checking @hed95 , I will make an update and cut a new release |
Hi We have a github repo using the following:
It was originally using:
I changed to 2.0.3 today to see if it makes a difference it was working fine about 1 or 2 months ago since then this constant error is seen:
Not sure what is causing this, any clues ?
The text was updated successfully, but these errors were encountered: