Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 21, 2024
1 parent f2afaf8 commit 674ef0b
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/reusable-workflow-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,9 @@ jobs:
trivy image --format spdx $REGISTRY/$IMAGE_NAME:$IMAGE_TAG > build-artifacts/sbom-spdx.txt
trivy image --format cyclonedx $REGISTRY/$IMAGE_NAME:$IMAGE_TAG > build-artifacts/sbom-cyclonedx.txt
# - name: Check image with Trivy
# run: |
# mkdir build-artifacts
# echo "=======> Print image for trivy scan:"
# echo "$REGISTRY/$IMAGE_NAME:$IMAGE_TAG"
# echo ""=======> Print available images:"
# podman image ls
# echo ""=======> Scan image with trivy:"
# 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
# trivy image --format cyclonedx ubuntu:rolling >> build-artifacts/sbom-cyclonedx.txt

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: image-scan-results
path: build-artifacts/*

# - name: Tag and push Docker image as latest
# # if: github.ref == 'refs/heads/main' # TODO: uncomment once we are done with development
# run: |
# podman tag $REGISTRY/$IMAGE_NAME:$IMAGE_TAG $REGISTRY/$IMAGE_NAME:latest
# podman push $REGISTRY/$IMAGE_NAME:latest


0 comments on commit 674ef0b

Please sign in to comment.