When a custom binary name is provided and the source is an archive file, the custom binary name is dicarded.
"trivy": {
Version: "0.40.0", // without the "v" prefix
Linux: "https://github.com/aquasecurity/trivy/releases/download/v{{.version}}/trivy_{{.version}}_Linux-64bit.tar.gz",
Windows: "https://github.com/aquasecurity/trivy/releases/download/v{{.version}}/trivy_{{.version}}_windows-64bit.zip",
Macosx: "https://github.com/aquasecurity/trivy/releases/download/v{{.version}}/trivy_{{.version}}_macOS-64bit.tar.gz",
BinaryName: "trivy-{{.version}}",
},