Error running custom Docker action #26136
-
I can successfully run an action using GitHub Actions for Docker. However, when I create my own Docker image for an action that runs Docker, execution fails without an obvious reason. It first shows “Cancelled!” and then turns into “Failed!”. I basically just copied the Dockerfile, made minor adjustments and used a custom entrypoint script. Am I missing something? Here’s the action run: https://github.com/unguiculus/actions-test/runs/47932633 Thanks, Reinhard |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I’m uncertain as to why, but you could try to add a **CMD [""] **to your Dockerfile. |
Beta Was this translation helpful? Give feedback.
-
Thanks, I found the problem. The entrypoint script was not executable. Unfortunately, no error was shown. |
Beta Was this translation helpful? Give feedback.
-
Hi @unguiculus, thanks for coming back and sharing what worked for you! We’re looking forward to seeing you around! |
Beta Was this translation helpful? Give feedback.
Thanks, I found the problem. The entrypoint script was not executable. Unfortunately, no error was shown.