Skip to content

Commit d96d8ee

Browse files
committed
add debug step for scan flags
1 parent b86b550 commit d96d8ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,12 @@ jobs:
255255
else
256256
echo "severity=HIGH,CRITICAL" >> "$GITHUB_OUTPUT"
257257
fi
258+
- name: debug scan flags
259+
run: |
260+
echo "inputs.skip_image_scan = ${{ inputs.skip_image_scan }}"
261+
echo "vars.SKIP_IMAGE_SCAN = ${{ vars.SKIP_IMAGE_SCAN }}"
262+
echo "matrix.component.skip_image_scan = ${{ matrix.component.skip_image_scan }}"
263+
echo "parsed SKIP_IMAGE_SCAN = ${{ fromJson(vars.SKIP_IMAGE_SCAN || 'false') }}"
258264
- name: Run Trivy vulnerability scanner
259265
if: ${{ inputs.skip_image_scan != true && fromJson(vars.SKIP_IMAGE_SCAN || 'false') != true && matrix.component.skip_image_scan != true }}
260266
uses: aquasecurity/[email protected]

0 commit comments

Comments
 (0)