use local/id:version-ts as docker image tag for locally built apps
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@ async function downloadImage(manifest) {
|
||||
|
||||
if (diskUsage.available < (1024*1024*1024)) throw new BoxError(BoxError.DOCKER_ERROR, `Not enough disk space to pull docker image. available: ${diskUsage.available}`);
|
||||
|
||||
if (manifest.dockerImage.indexOf('file:') === 0) {
|
||||
if (manifest.dockerImage.indexOf('local/') === 0) {
|
||||
await docker.buildImage(manifest);
|
||||
} else {
|
||||
await docker.downloadImage(manifest);
|
||||
|
||||
Reference in New Issue
Block a user