Skip to content

Commit

Permalink
👷 [#463] Add trivy image scan
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbal committed Dec 24, 2024
1 parent ad5d4fd commit b4dd7ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,18 @@ jobs:
id: image-name

open-api-ci:
uses: maykinmedia/open-api-workflows/.github/workflows/ci.yml@v1
uses: maykinmedia/open-api-workflows/.github/workflows/ci.yml@v3.0.2
needs:
- store-reusable-workflow-vars
with:
main-branch: 'master'
run-docs: true
django-settings-module: objects.conf.ci
python-version: '3.11'
docker-image-name: ${{ needs.store-reusable-workflow-vars.outputs.image-name }}

open-api-publish:
uses: maykinmedia/open-api-workflows/.github/workflows/publish.yml@v3.0.1
uses: maykinmedia/open-api-workflows/.github/workflows/publish.yml@v3.0.2
needs:
- store-reusable-workflow-vars
- open-api-ci
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/trivy-db-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Call Update Trivy Cache

on:
workflow_dispatch: # Manual trigger for testing purposes
schedule:
- cron: '51 0 * * *' # Run daily

jobs:
call-update-trivy-cache:
uses: maykinmedia/open-api-workflows/.github/workflows/ci.yml@v3.0.2

0 comments on commit b4dd7ca

Please sign in to comment.