-
I have recently created an action which utilises Join to send notification to devices. The action repository is based off Pushover which has some values changed. However, when using my action, I have this error which doesn’t seem to occur in the Pushover action. Sample run (Pushover only: Pass) https://github.com/ShaunLWM/awdawd/runs/213770026 Sample run (Join and Pushover - failed): https://github.com/ShaunLWM/awdawd/runs/213779607 Logs:
I am kind of confused as to why is it happening as it runs off the exact same Dockerfile. I apologise for being new to this. I’ve tried changing the image in the Dockerfile but to no avail. Thank you so much. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
The runner is trying to run your entrypoint.sh as a script, but it looks like your entrypoint.sh is missing the execute bit. You’ll need to add it to that file in your action’s repository. On Linux or macOS, run:
On Windows, run:
And then push the changes back up. |
Beta Was this translation helpful? Give feedback.
-
Ran the command and it’s now working as expected. Thank you so much for your help. I will definitely read up more about the additional paramters for the |
Beta Was this translation helpful? Give feedback.
-
This didn’t work for me unfortunately. In GKE i still get an error that says
Also when i try to chmod +x server in the pipeline I get this error:
|
Beta Was this translation helpful? Give feedback.
-
@sef1995 I had the same problem (on Windows) fixed by converting .sh files to lf (instead of crlf). Best of luck |
Beta Was this translation helpful? Give feedback.
-
Endings of statements for .sh file and Dockerfile (if you are using) should be LF instead of CRLF. Also make sure you add #!/bin/bash |
Beta Was this translation helpful? Give feedback.
The runner is trying to run your entrypoint.sh as a script, but it looks like your entrypoint.sh is missing the execute bit. You’ll need to add it to that file in your action’s repository.
On Linux or macOS, run:
On Windows, run:
And then push the changes back up.