@@ -12,13 +12,14 @@ import (
12
12
)
13
13
14
14
const (
15
- keyImageName = "name"
16
- keyLayerCompression = "compression"
17
- keyCompressionLevel = "compression-level"
18
- keyForceCompression = "force-compression"
19
- keyOCITypes = "oci-mediatypes"
20
- keyBuildInfo = "buildinfo"
21
- keyBuildInfoAttrs = "buildinfo-attrs"
15
+ keyImageName = "name"
16
+ keyLayerCompression = "compression"
17
+ keyCompressionLevel = "compression-level"
18
+ keyForceCompression = "force-compression"
19
+ keyOCITypes = "oci-mediatypes"
20
+ keyBuildInfo = "buildinfo"
21
+ keyBuildInfoAttrs = "buildinfo-attrs"
22
+ keyForceInlineAttestations = "attestation-inline"
22
23
23
24
// preferNondistLayersKey is an exporter option which can be used to mark a layer as non-distributable if the layer reference was
24
25
// already found to use a non-distributable media type.
@@ -75,6 +76,8 @@ func (c *ImageCommitOpts) Load(opt map[string]string) (map[string]string, error)
75
76
err = parseBoolWithDefault (& c .BuildInfo , k , v , true )
76
77
case keyBuildInfoAttrs :
77
78
err = parseBoolWithDefault (& c .BuildInfoAttrs , k , v , false )
79
+ case keyForceInlineAttestations :
80
+ err = parseBool (& c .ForceInlineAttestations , k , v )
78
81
case keyPreferNondistLayers :
79
82
err = parseBool (& c .RefCfg .PreferNonDistributable , k , v )
80
83
default :
0 commit comments