Skip to content

chore: fix Github action including 'generate-sbom' sub-action#311

Merged
craigzour merged 1 commit intomainfrom
chore/fix-github-actions-including-sbom-generation-step
Mar 2, 2026
Merged

chore: fix Github action including 'generate-sbom' sub-action#311
craigzour merged 1 commit intomainfrom
chore/fix-github-actions-including-sbom-generation-step

Conversation

@craigzour
Copy link
Contributor

Summary | Résumé

Context: https://gcdigital.slack.com/archives/C0AHXNG144D

  • Fixes Github actions including generate-sbom sub-action.

@craigzour craigzour self-assigned this Mar 2, 2026
@craigzour craigzour enabled auto-merge (squash) March 2, 2026 19:36
Comment on lines -52 to -62

- name: Docker generate SBOM
uses: cds-snc/security-tools/.github/actions/generate-sbom@5a93d1deec72d4cb2737cb8418364fedba1c695c # v3.2.1
env:
TRIVY_DB_REPOSITORY: ${{ vars.TRIVY_DB_REPOSITORY }}
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
with:
docker_image: "${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.TAG_VERSION }}"
dockerfile_path: "Dockerfile"
sbom_name: "forms-api"
token: "${{ secrets.GITHUB_TOKEN }}"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are already running this when we deploy to Staging. This also aligns with what we do in the Web App repository

@craigzour craigzour merged commit 3815995 into main Mar 2, 2026
6 checks passed
@craigzour craigzour deleted the chore/fix-github-actions-including-sbom-generation-step branch March 2, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants