Skip to content

Commit 031ee1e

Browse files
committed
tar cf docker load cwd
1 parent 10a7b7a commit 031ee1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LayerCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class LayerCache {
144144
}
145145

146146
private async loadImageFromUnpacked() {
147-
await exec.exec(`sh -c`, [`tar cf - '${this.getUnpackedTarDir()}' | docker load`])
147+
await exec.exec(`sh -c`, [`tar cf - . | docker load`], { cwd: this.getUnpackedTarDir() })
148148
}
149149

150150
async cleanUp() {

0 commit comments

Comments
 (0)