Skip to content

Commit 0681d7e

Browse files
committed
feat(deploy): Use empty default if DOCKER_BUILD_ARGS env var is not set
1 parent 2c1316a commit 0681d7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rootfs/deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def download_file(tar_path):
112112
rm=True,
113113
pull=True,
114114
path='/app',
115-
buildargs=json.loads(os.getenv('DOCKER_BUILD_ARGS')))
115+
buildargs=json.loads(os.getenv('DOCKER_BUILD_ARGS', '{}')))
116116
log_output(stream, True)
117117
print("Pushing to registry")
118118
stream = client.push(registry+'/'+imageName, tag=imageTag, stream=True)

0 commit comments

Comments
 (0)