From 4311c227a5cbc9d129e87fb76a39e950d4aa3ea2 Mon Sep 17 00:00:00 2001 From: Pavel Abramov Date: Thu, 13 Jul 2023 10:15:44 +0200 Subject: [PATCH] Add publishing sbom in workflows Thix fix previously removed publishing of sbom from `publish.yml` workflow. Signed-off-by: Pavel Abramov (cherry picked from commit 9ba7486ce0c991d8a3f489660ceb9fde9ea39b40) --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 848f24299a..d0fe8034bc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -115,6 +115,12 @@ jobs: command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} LINUXKIT_PKG_TARGET=push eve" dockerhub-token: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }} dockerhub-account: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }} + - uses: ./.github/actions/run-make + if: matrix.arch != 'riscv64' + with: + command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} LINUXKIT_PKG_TARGET=push sbom collected_sources compare_sbom_collected_sources publish_sources" + dockerhub-token: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }} + dockerhub-account: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }} verification: if: github.event.repository.full_name == 'lf-edge/eve'