Skip to content

Commit

Permalink
separate scanning into own job
Browse files Browse the repository at this point in the history
  • Loading branch information
P4sca1 committed Oct 8, 2024
1 parent 475834e commit 22028a2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,17 @@ jobs:
tags: |
ghcr.io/fkie-cad/logprep:py${{ matrix.python-version }}-${{ github.head_ref }}
trivy-scan:
runs-on: ubuntu-latest
needs: containerbuild
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# To avoid the trivy-db becoming outdated, we save the cache for one day
- name: Get date
id: date
Expand Down

0 comments on commit 22028a2

Please sign in to comment.