build: send buildinfo dependencies
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>pull/958/head
parent
893d505803
commit
7677052cb7
@ -0,0 +1,28 @@
|
|||||||
|
package exptypes
|
||||||
|
|
||||||
|
import (
|
||||||
|
digest "github.com/opencontainers/go-digest"
|
||||||
|
ocispecs "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
ExporterConfigDigestKey = "config.digest"
|
||||||
|
ExporterImageDigestKey = "containerimage.digest"
|
||||||
|
ExporterImageConfigKey = "containerimage.config"
|
||||||
|
ExporterImageConfigDigestKey = "containerimage.config.digest"
|
||||||
|
ExporterImageDescriptorKey = "containerimage.descriptor"
|
||||||
|
ExporterInlineCache = "containerimage.inlinecache"
|
||||||
|
ExporterBuildInfo = "containerimage.buildinfo"
|
||||||
|
ExporterPlatformsKey = "refs.platforms"
|
||||||
|
)
|
||||||
|
|
||||||
|
const EmptyGZLayer = digest.Digest("sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1")
|
||||||
|
|
||||||
|
type Platforms struct {
|
||||||
|
Platforms []Platform
|
||||||
|
}
|
||||||
|
|
||||||
|
type Platform struct {
|
||||||
|
ID string
|
||||||
|
Platform ocispecs.Platform
|
||||||
|
}
|
Loading…
Reference in New Issue