From 891c284da53c8a7d3972d86b3f0a43e9ad990c13 Mon Sep 17 00:00:00 2001 From: Ryosuke Tomita <> Date: Sun, 17 Dec 2023 13:12:34 +0900 Subject: [PATCH] echo3 --- copilot/pipelines/react-app-pipeline/buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copilot/pipelines/react-app-pipeline/buildspec.yml b/copilot/pipelines/react-app-pipeline/buildspec.yml index f3ef632..114a0ee 100644 --- a/copilot/pipelines/react-app-pipeline/buildspec.yml +++ b/copilot/pipelines/react-app-pipeline/buildspec.yml @@ -11,7 +11,7 @@ phases: # Download trivy. https://aquasecurity.github.io/trivy/v0.48/getting-started/installation/ - echo "install trivy" - RELEASE_VERSION=$(grep -Po '(?<=VERSION_ID=")[0-9]' /etc/os-release) - - echo -e '[trivy]\nname=Trivy repository\nbaseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/$RELEASE_VERSION/$basearch/\ngpgcheck=1\nenabled=1\ngpgkey=https://aquasecurity.github.io/trivy-repo/rpm/public.key' | tee -a /etc/yum.repos.d/trivy.repo + - echo -e '[trivy]\nname=Trivy repository\nbaseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/$RELEASE_VERSION/\$basearch/\ngpgcheck=1\nenabled=1\ngpgkey=https://aquasecurity.github.io/trivy-repo/rpm/public.key' | tee -a /etc/yum.repos.d/trivy.repo - cat /etc/yum.repos.d/trivy.repo - yum -y update - yum -y install trivy