File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function create_common_rpm_repo () {
1616
1717 mkdir -p $rpm_path /$arch
1818 cp ../dist/* ${prefix} .rpm ${rpm_path} /$arch /
19- createrepo_c -u https://github.com/aquasecurity/ trivy/releases/download / --location-prefix=" v" $TRIVY_VERSION --update $rpm_path /$arch
19+ createrepo_c -u https://get. trivy.dev/rpm / --location-prefix=" v" $TRIVY_VERSION --update $rpm_path /$arch
2020 rm ${rpm_path} /$arch /* ${prefix} .rpm
2121 done
2222}
@@ -28,7 +28,7 @@ function create_rpm_repo () {
2828 mkdir -p $rpm_path
2929 cp ../dist/* 64bit.rpm ${rpm_path} /
3030
31- createrepo_c -u https://github.com/aquasecurity/ trivy/releases/download / --location-prefix=" v" $TRIVY_VERSION --update $rpm_path
31+ createrepo_c -u https://get. trivy.dev/rpm / --location-prefix=" v" $TRIVY_VERSION --update $rpm_path
3232
3333 rm ${rpm_path} /* 64bit.rpm
3434}
You can’t perform that action at this time.
0 commit comments