From fae710db8fcb6560df7b69355374760c0f2a84c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20Male=C5=BEi=C4=8D?= <36704759+Blarc@users.noreply.github.com> Date: Wed, 24 Apr 2024 09:18:39 +0200 Subject: [PATCH] docs: remove RELEASE_VERSION from trivy.repo (#6546) --- docs/getting-started/installation.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 5b18edc30b4b..47aa0f21b1ff 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -10,11 +10,10 @@ In this section you will find an aggregation of the different ways to install Tr Add repository setting to `/etc/yum.repos.d`. ``` bash - RELEASE_VERSION=$(grep -Po '(?<=VERSION_ID=")[0-9]' /etc/os-release) cat << EOF | sudo tee -a /etc/yum.repos.d/trivy.repo [trivy] name=Trivy repository - baseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/$RELEASE_VERSION/\$basearch/ + baseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/\$basearch/ gpgcheck=1 enabled=1 gpgkey=https://aquasecurity.github.io/trivy-repo/rpm/public.key