File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -120,14 +120,13 @@ jobs:
120120 echo "safe_tag=${SAFE_TAG}" >> $GITHUB_OUTPUT
121121
122122 - name : 🔐 Generate SBOM (SPDX)
123- if : github.event_name != 'workflow_dispatch' || github.event.inputs.dry_run != 'true'
123+ if : matrix.target == 'ghcr' && ( github.event_name != 'workflow_dispatch' || github.event.inputs.dry_run != 'true')
124124 id : sbom
125- uses : anchore/sbom-action@v0.15.4
125+ uses : anchore/sbom-action@v0.20.01
126126 with :
127127 image : ${{ matrix.image }}:${{ steps.docker_tags.outputs.tag_name }}
128128 format : spdx-json
129129 output-file : sbom.spdx.json
130- artifact-name : domain-locker-sbom-${{ steps.safe_tag.outputs.safe_tag }}
131130 upload-artifact : false
132131
133132 - name : 🪪 Attest SBOM to registry
You can’t perform that action at this time.
0 commit comments