Skip to content

Commit

Permalink
Add optional input parameter for artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
mpanne committed May 8, 2024
1 parent 3228de9 commit 9535ef8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ inputs:
required: false
default: "text"
description: "The output format of the SBOM. Lookup syft's output formats for more detail"
artifact_name:
required: false
default: "SBOM"
description: "Name of the resulting artifact uploaded."

runs:
using: "composite"
Expand All @@ -28,5 +32,5 @@ runs:
- name: Archive SBOM
uses: actions/upload-artifact@v4
with:
name: SBOM-${{ inputs.image_name }}
name: ${{ inputs.artifact_name }}
path: SBOM

0 comments on commit 9535ef8

Please sign in to comment.