mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-05 20:40:16 -08:00
chore: update the rpm download Update (#9202)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user