Skip to content

Commit a430d49

Browse files
committed
add sbom generation to docker build-push-action
Signed-off-by: bennesp <[email protected]>
1 parent dce5384 commit a430d49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/docker-image.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
permissions:
2424
contents: read
2525
packages: write
26+
attestations: write
27+
id-token: write
2628

2729
steps:
2830
- name: Checkout repository
@@ -52,6 +54,7 @@ jobs:
5254
with:
5355
context: .
5456
push: ${{ github.event_name == 'push' && 'true' || 'false' }}
57+
sbom: ${{ github.event_name == 'push' && 'true' || 'false' }}
5558
platforms: linux/amd64,linux/arm64
5659
tags: ${{ steps.meta.outputs.tags }}
5760
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)