action-a entrypoint.sh won't finish

I am running into the issue where I get 

/bin/sh: 0: Illegal option -
 ##[error]Docker run failed with exit code 2

in my actions window and I can’t find a solution to it. Not sure if this is a bug or issue on my side. 

System config: WSL on Windows 10

Any help would be great. 

1 Like

@vishesh-gupta I can’t see the repository, but judging from the message:

/bin/sh: 0: Illegal option -

Are you sure you included the shebang before the command? Should be:

!#/bin/sh -l