-
Hi, guys We have enabled sbom feature, and it will pull from this image. Is there any way to override to a different image from our mirror due to dockerhub throtting ? Thank you! (We are not considering change the docker daemon config yet to point to a mirror) |
Beta Was this translation helpful? Give feedback.
Answered by
crazy-max
Sep 8, 2025
Replies: 1 comment 1 reply
-
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> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
guwenqing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
or