Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 4

Error running custom Docker action

Solved! Go to Solution.

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

 

3 Replies
Pilot Lvl 1
Message 2 of 4

Re: Error running custom Docker action

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

Solution
Copilot Lvl 2
Message 3 of 4

Re: Error running custom Docker action

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

Community Manager
Message 4 of 4

Re: Error running custom Docker action

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

Thanks for being here, sharing, and keeping our community awesome!
Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!