Skip to content

Commit

Permalink
adding docker sbom back (#2007)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 authored Dec 3, 2024
1 parent 52dc340 commit 677f52f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ jobs:
env:
TOKEN: ${{ steps.notify-pr-bot.outputs.token }}

#- name: Docker generate SBOM
# uses: cds-snc/security-tools/.github/actions/generate-sbom@34794baf2af592913bb5b51d8df4f8d0acc49b6f # v3.2.0
# env:
# TRIVY_DB_REPOSITORY: ${{ vars.TRIVY_DB_REPOSITORY }}
# with:
# docker_image: "${{ env.DOCKER_SLUG }}:latest"
# dockerfile_path: "ci/Dockerfile"
# sbom_name: "notification-admin"
# token: "${{ secrets.GITHUB_TOKEN }}"
- name: Docker generate SBOM
uses: cds-snc/security-tools/.github/actions/generate-sbom@34794baf2af592913bb5b51d8df4f8d0acc49b6f # v3.2.0
env:
TRIVY_DB_REPOSITORY: ${{ vars.TRIVY_DB_REPOSITORY }}
with:
docker_image: "${{ env.DOCKER_SLUG }}:latest"
dockerfile_path: "ci/Dockerfile"
sbom_name: "notification-admin"
token: "${{ secrets.GITHUB_TOKEN }}"

- name: Notify Slack channel if this job failed
if: ${{ failure() }}
Expand Down

0 comments on commit 677f52f

Please sign in to comment.