Skip to content

Commit 2cf02f4

Browse files
Enable provenance and SBOM in Docker build workflow
1 parent 78b02bb commit 2cf02f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/docker-build-frontend.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
context: ./src/frontend
7777
file: ./src/frontend/Dockerfile
7878
platforms: ${{ matrix.platform }}
79+
provenance: true
80+
sbom: true
81+
push: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
7982
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true
8083

8184
- name: Export digest

0 commit comments

Comments
 (0)