Skip to content

Commit

Permalink
fix(ci): Trivy scan triggered when no scan requested (#4742)
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 authored Oct 16, 2024
1 parent dbb9ddf commit 1ffef49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/.reusable-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ jobs:
- name: Scan ${{ steps.image-tag.outputs.image-tag }} image
id: trivy
uses: ./.github/actions/trivy-scan-image
if: inputs.scan
with:
image-tag: ${{ steps.image-tag.outputs.image-tag }}
category: ${{ inputs.image-name }}
Expand Down

0 comments on commit 1ffef49

Please sign in to comment.