Skip to content

Commit

Permalink
chore: Update artifact upload retention to 1 (#2588)
Browse files Browse the repository at this point in the history
  • Loading branch information
ukrocks007 authored Apr 16, 2024
1 parent 0be22e3 commit 3b02469
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ jobs:
with:
format: spdx
artifact-name: npm_sbom.spdx
upload-artifact-retention: 1
- name: Publish report [SPDX]
uses: anchore/sbom-action/publish-sbom@v0
with:
Expand All @@ -270,6 +271,7 @@ jobs:
with:
format: cyclonedx
artifact-name: npm_sbom.cyclonedx
upload-artifact-retention: 1
- name: Publish report [CycloneDx]
uses: anchore/sbom-action/publish-sbom@v0
with:
Expand Down Expand Up @@ -299,6 +301,7 @@ jobs:
with:
format: spdx
artifact-name: sbom.spdx
upload-artifact-retention: 1
- name: Publish report [SPDX]
uses: anchore/sbom-action/publish-sbom@v0
with:
Expand All @@ -308,6 +311,7 @@ jobs:
with:
format: cyclonedx
artifact-name: sbom.cyclonedx
upload-artifact-retention: 1
- name: Publish report [CycloneDx]
uses: anchore/sbom-action/publish-sbom@v0
with:
Expand All @@ -333,6 +337,7 @@ jobs:
image: ${{ needs.ci.outputs.IMAGE_PATH }}:${{ needs.ci.outputs.PUBLISH_TAG }}
format: spdx
artifact-name: docker_sbom.spdx
upload-artifact-retention: 1
- name: Publish report [Docker][SPDX]
if: github.ref == 'refs/heads/release'
uses: anchore/sbom-action/publish-sbom@v0
Expand All @@ -345,6 +350,7 @@ jobs:
image: ${{ needs.ci.outputs.IMAGE_PATH }}:${{ needs.ci.outputs.PUBLISH_TAG }}
format: cyclonedx
artifact-name: docker_sbom.cyclonedx
upload-artifact-retention: 1
- name: Publish report [Docker][CycloneDx]
if: github.ref == 'refs/heads/release'
uses: anchore/sbom-action/publish-sbom@v0
Expand Down

0 comments on commit 3b02469

Please sign in to comment.