Skip to content

Trivy build failure #2328

Closed
Closed
@Prajyot-Parab

Description

@Prajyot-Parab

/kind bug
/area provider/ibmcloud

What steps did you take and what happened:
Trivy scans failing, as we are unable to build trivy. This is because the docker deps got bumped in project as part of some other package requirement, and the new docker version isn't compatible with trivy version we build.

Error

/home/runner/go/pkg/mod/github.com/aquasecurity/trivy@v0.58.2/pkg/fanal/image/daemon/docker.go:66:58: cannot use c.ImageSave (value of type func(ctx context.Context, imageIDs []string, saveOpts ..."github.com/docker/docker/client".ImageSaveOption) (io.ReadCloser, error)) as imageSave value in argument to imageOpener

What did you expect to happen:

  • Trivy binary to build

Anything else you would like to add:
We cannot use the latest version of trivy (with fix for above issue) as they have bumped go to 1.24 and our project is still at 1.23

Metadata

Metadata

Assignees

Labels

area/provider/ibmcloudIssues or PRs related to ibmcloud providerkind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions