Skip to content

Commit

Permalink
recheck gh issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinvoicu committed Mar 1, 2024
1 parent 1d582a4 commit 12f0d69
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ jobs:
docker run -v ${PWD}:/app ${{ steps.build-release.outputs.TAGGED_IMAGE }} \
R -q -e 'write.csv(installed.packages(), file="/app/${{ steps.build-release.outputs.R_PKG_OUTPUT_FILENAME }}")'
# - name: Generate SBOM 📃
# uses: anchore/sbom-action@v0
# with:
# image: "${{ steps.build-release.outputs.TAGGED_IMAGE }}"
# output-file: "${{ steps.build-release.outputs.SBOM_OUTPUT_FILENAME }}"
# artifact-name: "sbom.spdx"
- name: Generate SBOM 📃
uses: anchore/sbom-action@v0
with:
image: "${{ steps.build-release.outputs.TAGGED_IMAGE }}"
output-file: "${{ github.workspace }}/${{ steps.build-release.outputs.SBOM_OUTPUT_FILENAME }}"
artifact-name: "sbom.spdx"

- name: Upload artifacts to release ⬆️
uses: marvinpinto/action-automatic-releases@latest
Expand All @@ -167,15 +167,16 @@ jobs:
files: |
${{ steps.build-release.outputs.MANIFEST_OUTPUT_FILENAME }}
${{ steps.build-release.outputs.R_PKG_OUTPUT_FILENAME }}
${{ steps.build-release.outputs.SBOM_OUTPUT_FILENAME }}
sec_ops:
if: github.ref_name == 'main'
needs: build_publish
# sec_ops:
# if: github.ref_name == 'main'
# needs: build_publish

permissions:
security-events: write
# permissions:
# security-events: write

name: Update security artifacts
uses: boehringer-ingelheim/dv.ci-images/.github/workflows/secops.yml@main
with:
image_tag: "${{ needs.build_publish.outputs.image }}:${{ needs.build_publish.outputs.tag }}"
# name: Update security artifacts
# uses: boehringer-ingelheim/dv.ci-images/.github/workflows/secops.yml@main
# with:
# image_tag: "${{ needs.build_publish.outputs.image }}:${{ needs.build_publish.outputs.tag }}"

0 comments on commit 12f0d69

Please sign in to comment.