Skip to content

Commit ea280d0

Browse files
Enhance Docker build with provenance and SBOM (#201)
Added provenance and SBOM options to Docker build.
1 parent 3472d6e commit ea280d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/push-tag.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ jobs:
3232
context: app/
3333
platforms: linux/amd64,linux/arm64
3434
push: true
35-
tags: "ghcr.io/${{ github.repository_owner }}/${{ env.WORKLOAD_NAME }}:${{ env.IMAGE_TAG }},ghcr.io/${{ github.repository_owner }}/${{ env.WORKLOAD_NAME }}:latest"
35+
provenance: mode=max
36+
sbom: true
37+
tags: "ghcr.io/${{ github.repository_owner }}/${{ env.WORKLOAD_NAME }}:${{ env.IMAGE_TAG }},ghcr.io/${{ github.repository_owner }}/${{ env.WORKLOAD_NAME }}:latest"

0 commit comments

Comments
 (0)