Skip to content

Commit e22f2b3

Browse files
authored
ci: add generating sboms to docker workflow (#73)
1 parent 45d0600 commit e22f2b3

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,11 +48,15 @@ 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 }}
5761

5862
integration:

0 commit comments

Comments
 (0)