Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 21, 2024
1 parent 742a8ec commit 1b0938e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reusable-workflow-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ jobs:
- name: Check image with Trivy
run: |
mkdir build-artifacts
echo "Image for trivy scan:"
echo "$REGISTRY/$IMAGE_NAME:$IMAGE_TAG"
echo "Available images:"
podman image ls
trivy image $REGISTRY/$IMAGE_NAME:$IMAGE_TAG >> build-artifacts/vuln-scan.txt
cat build-artifacts/vuln-scan.txt
trivy image --format spdx ubuntu:rolling >> build-artifacts/sbom-spdx.txt
Expand Down

0 comments on commit 1b0938e

Please sign in to comment.