Skip to content

Commit 961ceb7

Browse files
fix: pass env correctly
1 parent 95d460f commit 961ceb7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-docker-artifacts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,13 @@ jobs:
244244
- name: Determine trivy scan severity levels
245245
id: set_severity
246246
run: |
247-
if [[ "${{ inputs.scan_high_severity }}" == "false" ]]; then
247+
if [[ "${SCAN_HIGH_SEVERITY}" == "false" ]]; then
248248
echo "severity=CRITICAL" >> "$GITHUB_OUTPUT"
249249
else
250250
echo "severity=HIGH,CRITICAL" >> "$GITHUB_OUTPUT"
251251
fi
252+
env:
253+
SCAN_HIGH_SEVERITY: ${{ inputs.scan_high_severity }}
252254
- name: Run Trivy vulnerability scanner
253255
uses: aquasecurity/[email protected]
254256
with:

0 commit comments

Comments
 (0)