Skip to content

Commit 8eda7ea

Browse files
mac641majst01
andauthored
ci: add generating sboms to main workflow (#35)
Co-authored-by: Stefan Majer <[email protected]>
1 parent 99a5754 commit 8eda7ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ jobs:
5757
[ "${GITHUB_EVENT_NAME}" == 'release' ] && echo "tag=${GITHUB_REF##*/}" >> $GITHUB_ENV || true
5858
[ "${GITHUB_EVENT_NAME}" == 'push' ] && echo "tag=latest" >> $GITHUB_ENV || true
5959
60+
- name: Set up Docker Buildx
61+
uses: docker/setup-buildx-action@v3
62+
6063
- name: Build and push image
6164
uses: docker/build-push-action@v6
6265
with:
6366
context: .
6467
push: true
68+
sbom: true
6569
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.tag }}

0 commit comments

Comments
 (0)