aquasecurity / trivy-action

Runs Trivy as GitHub action to scan your Docker container image for vulnerabilities
Apache License 2.0
729 stars 216 forks source link

get xxx.sh line 212: unexpected EOF while looking for matching `"' #346

Open jeremyyang15 opened 2 months ago

jeremyyang15 commented 2 months ago

Hi

Our pipeline working fine with trivy-action scanning our docker image. However, in a sudden, it started to throwing below errors. (I've masked the file name)

/xxx.sh: line 212: unexpected EOF while looking for matching `"'

we have xxx.sh from a base docker image, but we don't have changes in xxx.sh for months, there is no more than 40 lines in the xxx.sh. Why it suddenly started to error out like above?

I tried the trivy script in local to scan same image, there is no such error. the error only occurring in the github pipeline.

afdesk commented 2 months ago

it's already fixed #343