Skip to content

Commit

Permalink
Merge pull request #7 from RyosukeDTomita/feature/image-scan
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
RyosukeDTomita authored Dec 17, 2023
2 parents bee97d5 + d55d203 commit 44fa861
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)
- cat << EOF | sudo tee -a /etc/yum.repos.d/trivy.repo
- cat << EOF | tee -a /etc/yum.repos.d/trivy.repo
[trivy]
name=Trivy repository
baseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/$RELEASE_VERSION/\$basearch/
Expand Down

0 comments on commit 44fa861

Please sign in to comment.