Skip to content

Commit

Permalink
ci: build and publish image with sbom attestation
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Chiu <yang.chiu@suse.com>
  • Loading branch information
yangchiu committed Jun 25, 2024
1 parent f687eb6 commit 7caba5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: longhornio/backing-image-manager:${{ env.branch }}-head
file: package/Dockerfile
sbom: true

- name: docker-publish-with-tag
if: ${{ startsWith(github.ref, 'refs/tags/') }}
Expand All @@ -90,3 +91,4 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: longhornio/backing-image-manager:${{ github.ref_name }}
file: package/Dockerfile
sbom: true

0 comments on commit 7caba5a

Please sign in to comment.