diff --git a/.github/workflows/deploy-dev.yaml b/.github/workflows/deploy-dev.yaml index 9d71b2366..89f996d1a 100644 --- a/.github/workflows/deploy-dev.yaml +++ b/.github/workflows/deploy-dev.yaml @@ -31,6 +31,7 @@ jobs: team: teamfamilie identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} + byosbom: target/classes/META-INF/sbom/application.cdx.json outputs: image: ${{ steps.docker-push.outputs.image }} deploy: diff --git a/.github/workflows/deploy-prod.yaml b/.github/workflows/deploy-prod.yaml index 163fa763a..58ca1b9a7 100644 --- a/.github/workflows/deploy-prod.yaml +++ b/.github/workflows/deploy-prod.yaml @@ -35,6 +35,7 @@ jobs: team: teamfamilie identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} + byosbom: target/classes/META-INF/sbom/application.cdx.json - name: Post deploy failures to Slack if: failure() run: | diff --git a/pom.xml b/pom.xml index 93764b8b9..1ca57e89a 100644 --- a/pom.xml +++ b/pom.xml @@ -416,6 +416,20 @@ + + + org.cyclonedx + cyclonedx-maven-plugin + 2.8.0 + + + package + + makeAggregateBom + + + +