We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d460f commit 961ceb7Copy full SHA for 961ceb7
.github/workflows/build-docker-artifacts.yml
@@ -244,11 +244,13 @@ jobs:
244
- name: Determine trivy scan severity levels
245
id: set_severity
246
run: |
247
- if [[ "${{ inputs.scan_high_severity }}" == "false" ]]; then
+ if [[ "${SCAN_HIGH_SEVERITY}" == "false" ]]; then
248
echo "severity=CRITICAL" >> "$GITHUB_OUTPUT"
249
else
250
echo "severity=HIGH,CRITICAL" >> "$GITHUB_OUTPUT"
251
fi
252
+ env:
253
+ SCAN_HIGH_SEVERITY: ${{ inputs.scan_high_severity }}
254
- name: Run Trivy vulnerability scanner
255
uses: aquasecurity/[email protected]
256
with:
0 commit comments