Skip to content

Commit

Permalink
Adds SBOM creation and build for ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
gcaracuel committed Jun 12, 2023
1 parent ac6f3f3 commit 7a369c8
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
tags:
- '*'
branches:
- main
- master
- '*'

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -42,5 +41,16 @@ jobs:
context: .
file: src/Dockerfile
push: true
sbom: true
platforms: linux/amd64,linux/arm64
provenance: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

- name: Scan SBOM
uses: anchore/scan-action@v3
with:
sbom: "sbom.spdx.json"
# fail-build: true
# severity-cutoff: critical
fail-build: false

0 comments on commit 7a369c8

Please sign in to comment.