Skip to content

Commit

Permalink
fix: Remove if statements + tags
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekMasher committed Nov 18, 2024
1 parent bd08e71 commit fb1f826
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/container-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,9 @@ jobs:
with:
file: "${{ inputs.container-file }}"
context: .
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# Scan the image for vulnerabilities
- name: Run the Anchore / Grype scan action
if: ${{ inputs.scanning == 'true' }}
uses: anchore/scan-action@f2ba85e044c8f5e5014c9a539328a9c78d3bfa49 # v5.2.1
id: scan
with:
Expand All @@ -66,7 +63,6 @@ jobs:
fail-build: ${{ inputs.scanning-block }}

- name: Upload vulnerability report
if: ${{ inputs.scanning == 'true' }}
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.scan.outputs.sarif }}

0 comments on commit fb1f826

Please sign in to comment.