Skip to content

Commit 63cf019

Browse files
committed
Use wizcli v1 style command name
1 parent 1b14e73 commit 63cf019

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ jobs:
116116
- name: Run wiz-cli docker image scan
117117
env:
118118
IMAGE_TAGS: ${{ steps.build.outputs.image_tags }}
119+
DOCKERFILE_PATH: ${{ inputs.dockerfile_path }}
119120
run: |
120121
while IFS= read -r image_tag; do
121122
echo "Scanning image: ${image_tag}"
122-
./wizcli docker scan \
123-
--image "${image_tag}" \
123+
./wizcli scan container-image "${image_tag}" \
124124
--client-id "${{ secrets.WIZ_CLIENT_ID }}" \
125125
--client-secret "${{ secrets.WIZ_CLIENT_SECRET }}"
126126
done <<< "${IMAGE_TAGS}"

0 commit comments

Comments
 (0)