Skip to content

Commit 27c6f22

Browse files
authored
ci: add generating sboms to docker workflow (#42)
1 parent 7f2f8e5 commit 27c6f22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,13 @@ jobs:
4848
[ "${GITHUB_EVENT_NAME}" == 'release' ] && echo "tag=${GITHUB_REF##*/}" >> $GITHUB_ENV || true
4949
[ "${GITHUB_EVENT_NAME}" == 'push' ] && echo "tag=latest" >> $GITHUB_ENV || true
5050
51+
- name: Set up Docker Buildx
52+
uses: docker/setup-buildx-action@v3
53+
5154
- name: Build and push image
5255
uses: docker/build-push-action@v6
5356
with:
5457
context: .
5558
push: true
59+
sbom: true
5660
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.tag }}

0 commit comments

Comments
 (0)