Skip to content

Commit 4c42b1a

Browse files
authored
Include SBOM in the container image (#89)
1 parent 9a296a4 commit 4c42b1a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/docker.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,13 @@ jobs:
3636
[ "${GITHUB_EVENT_NAME}" == 'release' ] && echo "tag=${GITHUB_REF##*/}" >> $GITHUB_ENV || true
3737
[ "${GITHUB_EVENT_NAME}" == 'push' ] && echo "tag=latest" >> $GITHUB_ENV || true
3838
39+
- name: Set up Docker Buildx
40+
uses: docker/setup-buildx-action@v3
41+
3942
- name: Build and push image
40-
uses: docker/build-push-action@v5
43+
uses: docker/build-push-action@v6
4144
with:
4245
context: .
4346
push: true
47+
sbom: true
4448
tags: ${{ env.REGISTRY }}/metal-stack/cluster-api-metal-stack-controller:${{ env.tag }}

0 commit comments

Comments
 (0)