ci: add gpg signing for RPM packages (#4056)

This commit is contained in:
afdesk
2023-04-14 10:28:44 +06:00
committed by GitHub
parent b608b116cc
commit ff1c43a791
4 changed files with 19 additions and 2 deletions

View File

@@ -15,8 +15,9 @@ In this section you will find an aggregation of the different ways to install Tr
[trivy]
name=Trivy repository
baseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/$RELEASE_VERSION/\$basearch/
gpgcheck=0
gpgcheck=1
enabled=1
gpgkey=https://aquasecurity.github.io/trivy-repo/rpm/public.key
EOF
sudo yum -y update
sudo yum -y install trivy