-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: set record provenance in response #2280
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
436f6c4
to
4a00e0f
Compare
eb6347c
to
e0256b6
Compare
e0256b6
to
16b5bf3
Compare
4c1003b
to
6711c97
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
a1e68ca
to
b3585e6
Compare
fd017d8
to
9e35c6d
Compare
9e35c6d
to
ad85d2f
Compare
@tonistiigi Updated to strip |
ad85d2f
to
f0b31ce
Compare
f0b31ce
to
eba0b61
Compare
4e034e5
to
29890fa
Compare
5e29d4b
to
fde233d
Compare
Signed-off-by: CrazyMax <[email protected]>
fde233d
to
2e2f9f5
Compare
@dvdksn Forgot to add docs-followup label on this one 🙈 for |
follow-up discussion with @tonistiigi
related to #1681
Previously we got
containerimage.buildinfo
in the metadata file butbuildinfo
has been removed in BuildKit 0.12 (moby/buildkit#3582): https://github.com/moby/buildkit/blob/master/docs/deprecated.md#build-informationThis was useful to see all sources that were used by the build with their exact versions and also the configuration that was passed to the build.
However with the provenance attestation supported since BuildKit v0.11, we have similar (and a "bit" more) information available.
With this change we set the provenance saved along the build record in the metadata file similar to
containerimage.buildinfo
that is namedbuildx.build.provenance
. Will set minimal provenance by default but can be customized using theBUILDX_METADATA_PROVENANCE
env var.md.json
md.json
md.json