Skip to content

Commit

Permalink
echo3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryosuke Tomita committed Dec 17, 2023
1 parent c924e96 commit 891c284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copilot/pipelines/react-app-pipeline/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 891c284

Please sign in to comment.