Skip to content

Commit 0880824

Browse files
committed
excute command on remote server
1 parent d373b4e commit 0880824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ then
8888
if [ -n "$INPUT_POST_UPLOAD_COMMAND" ];
8989
then
9090
echo "Upload post command specified, runnig. $INPUT_POST_UPLOAD_COMMAND "
91-
eval "$INPUT_POST_UPLOAD_COMMAND"
91+
ssh -o StrictHostKeyChecking=no "$INPUT_REMOTE_DOCKER_HOST" "eval $INPUT_POST_UPLOAD_COMMAND"
9292
fi
9393
fi
9494

0 commit comments

Comments
 (0)