Skip to content

Commit

Permalink
tar cf docker load cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
satackey committed Jun 14, 2020
1 parent 10a7b7a commit 031ee1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LayerCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class LayerCache {
}

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

async cleanUp() {
Expand Down

0 comments on commit 031ee1e

Please sign in to comment.