⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Discussion options

You must be logged in to vote

Yes you can override the default scanner image (also called generator): https://docs.docker.com/build/metadata/attestations/sbom/#sbom-generator

With build-push-action:

      -
        name: Build and push
        uses: docker/build-push-action@v6
        with:
          push: true
          tags: user/app:latest
          attest: |
            type=sbom,generator=<image>

or

      -
        name: Build and push
        uses: docker/build-push-action@v6
        with:
          push: true
          tags: user/app:latest
          sbom: generator=<image>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@guwenqing
Comment options

Answer selected by guwenqing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants