Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,28 @@ jobs:
cache-from: type=gha
cache-to: type=gha

update_dependency_graph:
needs: build_and_publish_web
if: github.repository == 'cBioPortal/cbioportal' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Extract metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
cbioportal/cbioportal
# Do not generate latest tag
flavor: |
latest=false
suffix=-web-shenandoah
tags: |
type=ref,event=branch
type=semver,pattern={{version}}

- name: Update Github Dependency Graph
uses: anchore/sbom-action@v0
with:
image: cbioportal/cbioportal:${{ steps.meta.output.tags }}
dependency-snapshot: 'true'
github-token: '${{ secrets.GITHUB_TOKEN }}'
Loading