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 <[email protected]>
  • Loading branch information
yangchiu authored and innobead committed Jun 25, 2024
1 parent 83cd31c commit 91d724a
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/longhorn-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/longhorn-manager:${{ github.ref_name }}
file: package/Dockerfile
sbom: true

0 comments on commit 91d724a

Please sign in to comment.