Error running custom Docker action

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

I’m uncertain as to why, but you could try to add a **CMD [""] **to your Dockerfile.

Thanks, I found the problem. The entrypoint script was not executable. Unfortunately, no error was shown.

1 Like

Hi @unguiculus, thanks for coming back and sharing what worked for you! We’re looking forward to seeing you around!