mirror of
https://github.com/addnab/docker-run-action.git
synced 2024-12-26 18:51:03 +08:00
override entrypoint
This commit is contained in:
parent
1d5aeada27
commit
fca40d5fe6
@ -6,4 +6,4 @@ fi
|
||||
|
||||
echo "$INPUT_RUN" | sed -e 's/\\n/;/g' > semicolon_delimited_script
|
||||
|
||||
exec docker run $INPUT_OPTIONS $INPUT_IMAGE /bin/$INPUT_SHELL -c "`cat semicolon_delimited_script`"
|
||||
exec docker run $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "`cat semicolon_delimited_script`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user