Skip to content

Commit bdb0d39

Browse files
samuelho-devclaude
andcommitted
fix: use valid artifact name for SBOM upload
The default artifact name includes sha256 hash with colons which are invalid for GitHub artifact names. Use simple image name instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b404926 commit bdb0d39

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/docker-build-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ jobs:
200200
image: ${{ inputs.registry }}/${{ github.repository_owner }}/${{ inputs.image }}@${{ steps.build.outputs.digest }}
201201
format: 'spdx-json'
202202
output-file: 'sbom.spdx.json'
203+
artifact-name: ${{ inputs.image }}-sbom.spdx.json
203204
upload-artifact: true
204205
upload-release-assets: false
205206

0 commit comments

Comments
 (0)