From ff43691cdcbf988a57285dff68a125016d5a2286 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Tue, 14 Nov 2023 23:19:12 +0100 Subject: [PATCH] chore: pull image before generating sbom --- .gitea/workflows/server.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index a6a5433..ef6af7b 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -159,6 +159,7 @@ jobs: run: | echo forge.rainote.dev/${{ github.repository }} echo forge.rainote.dev/${{ github.repository }}:${{ needs.preprocess.outputs.sanitized_branch_name }} + docker pull forge.rainote.dev/${{ github.repository }}:${{ needs.preprocess.outputs.sanitized_branch_name }} docker sbom -D forge.rainote.dev/${{ github.repository }}:${{ needs.preprocess.outputs.sanitized_branch_name }} --format cyclonedx-json --output container-bom.json - name: Upload SBOM uses: https://github.com/DependencyTrack/gh-upload-sbom@v2.0.1