Skip to content

Commit cf7aa25

Browse files
committed
Integrate overlaybd annotations
Signed-off-by: Haoqi Miao <miaohaoqi.mhq@alibaba-inc.com>
1 parent b205f2c commit cf7aa25

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/label/label.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ const (
8686
RemoteLabelVal = "remote snapshot"
8787
)
8888

89+
// used in filterAnnotationsForSave (https://github.com/moby/buildkit/blob/v0.11/cache/refs.go#L882)
90+
var OverlayBDAnnotations = []string{
91+
LocalOverlayBDPath,
92+
OverlayBDBlobDigest,
93+
OverlayBDBlobSize,
94+
OverlayBDBlobFsType,
95+
}
96+
8997
// interface
9098
const (
9199
// SupportReadWriteMode is used to support writable block device

0 commit comments

Comments
 (0)