Skip to content

Commit

Permalink
add: upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvija Tovernic committed Sep 21, 2024
1 parent d3f6f14 commit 9eabf4d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/reusable-workflow-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: |
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
Expand All @@ -74,11 +74,11 @@ jobs:
# 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: build-artifacts
# path: build-artifacts/*
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
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
Expand Down

0 comments on commit 9eabf4d

Please sign in to comment.