Skip to content

Commit 3e9d921

Browse files
authored
ci: add generating sbom to docker workflow (#81)
1 parent ef23dbe commit 3e9d921

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/docker.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,21 @@ jobs:
4141
uses: golangci/golangci-lint-action@v7
4242
with:
4343
args: --build-tags integration -D protogetter --timeout=3m
44+
4445
- name: Docker meta
4546
id: meta
4647
uses: docker/metadata-action@v5
4748
with:
4849
images: |
4950
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5051
52+
- name: Set up Docker Buildx
53+
uses: docker/setup-buildx-action@v3
54+
5155
- name: Build and push image
5256
uses: docker/build-push-action@v6
5357
with:
5458
context: .
5559
push: true
56-
tags: ${{ steps.meta.outputs.tags }}
60+
sbom: true
61+
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)