From 940e86ea21036d5688afb0a43e30a9199847336e Mon Sep 17 00:00:00 2001 From: Abdud Dayan Adeeb Date: Wed, 17 Jun 2020 20:50:44 -0400 Subject: [PATCH] fixes --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4da7bd5..af26be6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,6 +4,6 @@ if [ ! -z $INPUT_USERNAME ]; then echo $INPUT_USERNAME | docker login $INPUT_REGISTRY -u $INPUT_PASSWORD --password-stdin fi -echo $INPUT_COMMAND | sed -e 's/\\n/;/g' > semicolon_delimited_script +echo "$INPUT_COMMAND" | sed -e 's/\\n/;/g' > semicolon_delimited_script exec docker run $INPUT_OPTIONS $INPUT_IMAGE /bin/sh -c "`cat semicolon_delimited_script`"