Skip to content

Commit 71da19d

Browse files
authored
fix: deploy container with registry image (#197)
1 parent fd5d60d commit 71da19d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deploy/lib/buildAndPushContainers.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ module.exports = {
6868
const containerNames = Object.keys(this.containers);
6969
const promises = containerNames.map((containerName) => {
7070
const container = this.containers[containerName];
71+
if (container["directory"] === undefined) {
72+
return;
73+
}
7174
const tarStream = tar.pack(`./${container.directory}`);
7275
const imageName = `${this.namespace.registry_endpoint}/${container.name}:latest`;
7376

0 commit comments

Comments
 (0)