diff --git a/deploy/lib/buildAndPushContainers.js b/deploy/lib/buildAndPushContainers.js index aaae9125..f408bfac 100644 --- a/deploy/lib/buildAndPushContainers.js +++ b/deploy/lib/buildAndPushContainers.js @@ -68,6 +68,9 @@ module.exports = { const containerNames = Object.keys(this.containers); const promises = containerNames.map((containerName) => { const container = this.containers[containerName]; + if (container["directory"] === undefined) { + return; + } const tarStream = tar.pack(`./${container.directory}`); const imageName = `${this.namespace.registry_endpoint}/${container.name}:latest`;