chore: update the rpm download Update (#9202)

This commit is contained in:
Owen Rumney
2025-07-18 11:11:08 +00:00
committed by GitHub
parent 861d51e99a
commit 362be17f7e

View File

@@ -16,7 +16,7 @@ function create_common_rpm_repo () {
mkdir -p $rpm_path/$arch mkdir -p $rpm_path/$arch
cp ../dist/*${prefix}.rpm ${rpm_path}/$arch/ cp ../dist/*${prefix}.rpm ${rpm_path}/$arch/
createrepo_c -u https://github.com/aquasecurity/trivy/releases/download/ --location-prefix="v"$TRIVY_VERSION --update $rpm_path/$arch createrepo_c -u https://get.trivy.dev/rpm/ --location-prefix="v"$TRIVY_VERSION --update $rpm_path/$arch
rm ${rpm_path}/$arch/*${prefix}.rpm rm ${rpm_path}/$arch/*${prefix}.rpm
done done
} }
@@ -28,7 +28,7 @@ function create_rpm_repo () {
mkdir -p $rpm_path mkdir -p $rpm_path
cp ../dist/*64bit.rpm ${rpm_path}/ cp ../dist/*64bit.rpm ${rpm_path}/
createrepo_c -u https://github.com/aquasecurity/trivy/releases/download/ --location-prefix="v"$TRIVY_VERSION --update $rpm_path createrepo_c -u https://get.trivy.dev/rpm/ --location-prefix="v"$TRIVY_VERSION --update $rpm_path
rm ${rpm_path}/*64bit.rpm rm ${rpm_path}/*64bit.rpm
} }