Skip to content

How to perform provenance attestation on these images ? #754

Open
@webmutation

Description

@webmutation

Hello,

We are using these images as the base image, we patch and harden a bit and rebuild whenever there is a new release. However we would like to add attestation validation of provenance, are these images being generated with provenance information and sbom so we can validate it when updating our own images ?

lets say something simple with Github Actions

  - name: Build and push
    uses: docker/build-push-action@v6
    with:
      tags: "${{ vars.DOCKER_USER }}/${{ vars.DOCKER_IMAGENAME}}:${{ github.ref_name }}"
      # For pull requests, export results to the build cache.
      # Otherwise, push to a registry.
      outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
      **provenance: mode=max
      sbom: true**

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions