Skip to content

Commit 0bb4990

Browse files
committed
fix trivy scan parsing of cluster image file
1 parent 246ba7b commit 0bb4990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/trivyscan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Parse image name json
7373
id: manifest
7474
run: |
75-
IMAGE_NAME=$(jq --arg version "${{ matrix.build }}" -r '.cluster_image_names[$version]' "${{ env.JSON_PATH }}")
75+
IMAGE_NAME=$(jq --arg version "${{ matrix.build }}" -r '.cluster_image_names[$version].default' "${{ env.JSON_PATH }}")
7676
echo "image-name=${IMAGE_NAME}" >> "$GITHUB_OUTPUT"
7777
7878
- name: Download image

0 commit comments

Comments
 (0)