Skip to content

Commit 030f337

Browse files
authored
chore: generate sbom for release artifacts (#3587)
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent d2ef67c commit 030f337

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/docker.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ jobs:
126126
env:
127127
COSIGN_PUBLIC_KEY: ${{ secrets.COSIGN_PUBLIC_KEY }}
128128

129+
- uses: anchore/sbom-action@v0
130+
with:
131+
image: dragonflyoss/${{ matrix.module }}:${{ steps.get_version.outputs.VERSION }}
132+
133+
- uses: anchore/sbom-action@v0
134+
with:
135+
image: ghcr.io/${{ env.IMAGE_REPOSITORY }}/${{ matrix.module }}:${{ steps.get_version.outputs.VERSION }}
136+
129137
- name: Move cache
130138
run: |
131139
rm -rf /tmp/.buildx-cache

0 commit comments

Comments
 (0)