Skip to content

Commit

Permalink
Try scan locally cached image
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewk committed Jan 17, 2024
1 parent b6f55f0 commit f5c288a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/amazon-inspector-image-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: ${{ inputs.docker-context }}
push: true
#push: true
tags: localhost:5000/${{ inputs.docker-image-name }}:latest
- name: Check cURL version
run: curl -V
Expand All @@ -44,6 +44,6 @@ jobs:
&& chmod +x "$inspector_sbomgen_path/inspector-sbomgen"
&& echo "$inspector_sbomgen_path" >> $GITHUB_PATH
- name: Scan Local Image
run: inspector-sbomgen container --image ${{ inputs.docker-image-name }}:latest -o "$inspector_sbomgen_output_path"
run: inspector-sbomgen container --image localhost:5000/${{ inputs.docker-image-name }}:latest -o "$inspector_sbomgen_output_path"
- name: Show results
run: cat "$inspector_sbomgen_output_path"

0 comments on commit f5c288a

Please sign in to comment.