copy the rpms after you sign them, you idiot
All checks were successful
CI / test (push) Successful in 2m3s
Trivy / test (push) Successful in 19s

This commit is contained in:
Miguel Jacq 2025-12-24 18:45:17 +11:00
parent 54f02f0757
commit 9e5d54afab
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9

View file

@ -56,12 +56,13 @@ KEYID="00AE817C24A10C2540461A9C1D7CDE0234DB458D"
echo "==> Updating RPM repo..." echo "==> Updating RPM repo..."
mkdir -p "$RPM_REPO" mkdir -p "$RPM_REPO"
cp "${BUILD_OUTPUT}/rpm/"*.rpm "$RPM_REPO/"
for file in `ls -1 "$PWD/dist/rpm"`; do for file in `ls -1 "${BUILD_OUTPUT}/rpm"`; do
rpmsign --addsign "$PWD/dist/rpm/$file" rpmsign --addsign "${BUILD_OUTPUT}/rpm/$file"
done done
cp "${BUILD_OUTPUT}/rpm/"*.rpm "$RPM_REPO/"
createrepo_c "$RPM_REPO" createrepo_c "$RPM_REPO"
echo "==> Signing repomd.xml..." echo "==> Signing repomd.xml..."