Skip to content

Commit 9983f5a

Browse files
committed
chore: test SBOM generation for PR builds
1 parent cdefa69 commit 9983f5a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
5858
with:
5959
images: ghcr.io/${{ github.repository }}/${{ matrix.binary }}
60+
- uses: anchore/sbom-action/download-syft@a930d0ac434e3182448fe678398ba5713717112a # v0.21.0
6061
- name: Build and push ${{ matrix.binary }} container image
6162
if: github.actor != 'dependabot[bot]'
6263
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
@@ -69,6 +70,7 @@ jobs:
6970
BINARY=${{ matrix.binary }}
7071
TARGETPLATFORM=${{ matrix.binary }}_linux_amd64_v1
7172
context: dist
73+
sbom: true
7274
check-tag:
7375
permissions:
7476
contents: read

0 commit comments

Comments
 (0)