trivy version bump breaks trivy scan since removal of "--clear-cache" flag
Describe the bug
Trivy has bumped a version and since this pipeline pulls in the latest version of registry.hub.docker.com/aquasec/trivy, the job fails with this message:
Full update to trivy outlined here: https://github.com/aquasecurity/trivy/pull/6993
Expected behavior
Trivy scan proceeds as normal in the docker-trivy job
Actual behavior
Trivy scan fails with message above during the docker-trivy job
Logs and/or screenshots
(Join any relevant logs and/or screenshot. Please use code blocks (```) to format console output, logs, and code.)
Context & Configuration
Link to a project, pipeline or job facing the bug: (please provide one if possible)
The issue was reproduced using:
- Version of the template: (type in the version)
- GitLab server(s): self-managed server
- GitLab runner(s): 14.8.3
Edited by Daniel Lysinger