Skip to content

Commit 1a5fb1f

Browse files
committed
fix: set trivy version as latest
quasecurity/trivy info checking GitHub for latest tag aquasecurity/trivy crit unable to find '' - use 'latest' or see https://github.com/aquasecurity/trivy/releases for details
1 parent 5c17250 commit 1a5fb1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/docker/scan-docker-repo/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ runs:
152152
trivy_dir="${WORKSPACE_PATH}/trivy"
153153
mkdir -p "${trivy_dir}"
154154
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh |
155-
sh -s -- -b "${trivy_dir}"
155+
sh -s -- -b "${trivy_dir}" latest
156156
# to fix the version used, put it as a value after trivy_dir, i.e. '-b "${trivy_dir}" v0.67.0'
157157
158158
trivy_bin="${trivy_dir}/trivy"

0 commit comments

Comments
 (0)