Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
samatstariongroup committed Dec 9, 2024
1 parent 8d66a02 commit 0b334e6
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/publish-docker-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- 'web-*'
pull_request:
branches: [ "**" ]

jobs:
build:
Expand All @@ -27,7 +29,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and push
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -39,23 +41,11 @@ jobs:
"DEVEXPRESS_NUGET_KEY=${{ secrets.DEVEXPRESS_NUGET_KEY }}"
"PACKAGE_TOKEN=${{ secrets.PACKAGE_TOKEN }}"
- name: Docker Scout Quickview and CVEs
- name: Docker Scout Quickview, CVEs, Recommendations, SBOM
uses: docker/scout-action@v1
with:
command: quickview,cves
image: stariongroup/comet-web-community-edition:${{ steps.meta.outputs.tags }}

- name: Docker Scout SBOM
uses: docker/scout-action@v1
with:
command: sbom
image: stariongroup/comet-web-community-edition:${{ steps.meta.outputs.tags }}
output: sbom.json

# - name: Upload Docker Scout SARIF Report
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: scout.sarif
command: quickview,cves,recommendations,sbom
image: ${{ steps.meta.outputs.tags }}

# - name: Invoke deployment hook
# uses: distributhor/workflow-webhook@v3
Expand Down

0 comments on commit 0b334e6

Please sign in to comment.