provenance: set mode max and builder-id for public repos by default

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-12-20 06:17:29 +01:00
parent ed2672fc33
commit 26ce4f3617
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 23 additions and 3 deletions

View file

@ -529,9 +529,7 @@ jobs:
file: ./test/go/Dockerfile
target: ${{ matrix.target }}
outputs: ${{ matrix.output }}
attests: |
type=sbom
type=provenance,mode=max,builder-id=https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}
sbom: true
cache-from: type=gha,scope=attests-${{ matrix.target }}
cache-to: type=gha,scope=attests-${{ matrix.target }},mode=max
-