Skip to content

Commit 693ca45

Browse files
committed
We probably want to "export all the layers of all intermediate steps"
1 parent 0885441 commit 693ca45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/y-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DEFAULT_REGISTRY=builds-registry.ystack.svc.cluster.local
1414
[ -z "$PUSH_REGISTRY" ] && PUSH_REGISTRY=$DEFAULT_REGISTRY
1515
[ -z "$BUILDKIT_CACHE" ] && BUILDKIT_CACHE="type=registry,ref=$BUILDS_REGISTRY/ystack:buildcache"
1616
[ -z "$IMPORT_CACHE" ] && IMPORT_CACHE="--import-cache=$BUILDKIT_CACHE"
17-
[ -z "$EXPORT_CACHE" ] && EXPORT_CACHE="--export-cache=$BUILDKIT_CACHE"
17+
[ -z "$EXPORT_CACHE" ] && EXPORT_CACHE="--export-cache=$BUILDKIT_CACHE,mode=max"
1818
[ "$IMPORT_CACHE" = "false" ] && IMPORT_CACHE=""
1919
[ "$EXPORT_CACHE" = "false" ] && EXPORT_CACHE=""
2020
[ -z "$BUILDKIT_HOST" ] && BUILDKIT_HOST=tcp://buildkitd.ystack.svc.cluster.local:8547

0 commit comments

Comments
 (0)