Skip to content

Commit fb1f826

Browse files
committed
fix: Remove if statements + tags
1 parent bd08e71 commit fb1f826

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/container-security.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,9 @@ jobs:
5252
with:
5353
file: "${{ inputs.container-file }}"
5454
context: .
55-
tags: ${{ steps.meta.outputs.tags }}
56-
labels: ${{ steps.meta.outputs.labels }}
5755

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

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

0 commit comments

Comments
 (0)