Skip to content

Commit

Permalink
chore: optimize trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
dspashynskyi authored Nov 29, 2024
1 parent 8d96afd commit 6932d6f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
gitlab-dev-deploy:
if: ${{ github.event.registry_package.package_version.container_metadata.tag.name == 'development' }}
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@1.8.0
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@1.10.0
with:
gitlab-project-id: '1830'
gitlab-project-ref: 'master'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ on:

jobs:
pr-title-check:
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.8.0
uses: epam/ai-dial-ci/.github/workflows/pr-title-check.yml@1.10.0
secrets:
ACTIONS_BOT_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
run_tests:
uses: epam/ai-dial-ci/.github/workflows/python_docker_pr.yml@1.8.0
uses: epam/ai-dial-ci/.github/workflows/python_docker_pr.yml@1.10.0
secrets: inherit
with:
python_version: "3.10"
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
release:
uses: epam/ai-dial-ci/.github/workflows/python_docker_release.yml@1.8.0
uses: epam/ai-dial-ci/.github/workflows/python_docker_release.yml@1.10.0
secrets: inherit
with:
python_version: "3.10"
13 changes: 13 additions & 0 deletions trivy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Trivy configuration file
# https://aquasecurity.github.io/trivy/latest/docs/references/configuration/config-file/
# Can be deleted after public ecr mirror will be added by default
db:
no-progress: true
repository:
- ghcr.io/aquasecurity/trivy-db:2
- public.ecr.aws/aquasecurity/trivy-db:2
java-repository:
- ghcr.io/aquasecurity/trivy-java-db:1
- public.ecr.aws/aquasecurity/trivy-java-db:1
misconfiguration:
checks-bundle-repository: public.ecr.aws/aquasecurity/trivy-checks

0 comments on commit 6932d6f

Please sign in to comment.