cross-the-world / ssh-scp-ssh-pipelines

MIT License
78 stars 22 forks source link

Missing entrypoint.sh #2

Open nelvadas opened 4 years ago

nelvadas commented 4 years ago

Hello, facing some issue with the entpry point fom this cross-the-world/ssh-scp-ssh-pipelines@v1.1.0 /usr/bin/docker run --name cb983b90843a864c15a36f03b2db3cf3c7_88bf81 --label 8118cb --workdir /github/workspace --rm -e JAVA_HOME_8.0.265_x64 -e JAVA_HOME -e JAVA_HOME_8_0_265_X64 -e WELCOME -e LASTSSH -e INPUT_HOST -e INPUT_USER -e INPUT_KEY -e INPUT_PORT -e INPUT_CONNECT_TIMEOUT -e INPUT_FIRST_SSH -e INPUT_SCP -e INPUT_LAST_SSH -e INPUT_PASS -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/greeting-spring-boot/greeting-spring-boot":"/github/workspace" 8118cb:983b90843a864c15a36f03b2db3cf3c7 docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"./entrypoint.sh\": stat ./entrypoint.sh: no such file or directory": unknown.

thuongnht commented 4 years ago

It might be because your setup may be an another home dir for container (default is /opt/tools/) Someone had also the same problem like you and suggest to give a full path on entrypoint, with that, the setting of home dir is no more the problem. The latest release (v1.1.1) should fix this problem.