Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
|
940e86ea21 | ||
|
b1bd71bac3 | ||
|
cf18d277e1 | ||
|
a0a75b001b | ||
|
d94e0f37db |
1 changed files with 3 additions and 1 deletions
|
@ -4,4 +4,6 @@ if [ ! -z $INPUT_USERNAME ];
|
|||
then echo $INPUT_USERNAME | docker login $INPUT_REGISTRY -u $INPUT_PASSWORD --password-stdin
|
||||
fi
|
||||
|
||||
exec docker run $INPUT_OPTIONS $INPUT_IMAGE $INPUT_COMMAND
|
||||
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`"
|
||||
|
|
Reference in a new issue