chore: Update artifact upload retention to 1 (#2588)

This commit is contained in:
Utkarsh Mehta 2024-04-17 03:02:59 +05:30 committed by GitHub
parent 0be22e338d
commit 3b024693b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -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:
@ -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:
@ -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:
@ -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:
@ -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
@ -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