Closed VivekPNs closed 4 months ago
Error: Recreating ce3fc36b598e_my-service ... error for test-service Cannot create container for service test-service: No command specified
These logs are not enough. Please post link to your repo if possible that woudl be easy to find out the issue or open a public one with minimal repro. Or full workflow logs in worst case. Thanks.
Contributing guidelines
I've found a bug, and:
Description
I'm trying to deploy my Node application to a different environment and as part of the process, I have set up a GitHub Actions workflow which has 2 jobs namely, build and deploy_dev. build job will build the image and upload it as an artifact and the deploy_dev job will download the artifact, tag it, and push it to ECR.
I did not encounter any error while building or tagging but, while running the pulled image within ECR, I'm getting the below error, so I'm not sure if it's due to a corrupted image or an issue with the way I'm building or tagging.
Error: Recreating ce3fc36b598e_my-service ... error for test-service Cannot create container for service test-service: No command specified
Here is my Dockerfile:
I'm not sure about the mistake or if there is an issue while dealing with tar files for tagging and pushing.
Expected behaviour
Once the tar image file is downloaded and tagged properly without any error, it should be able to be pulled in to any ec2 machine and run it.
Actual behaviour
Error: Recreating ce3fc36b598e_my-service ... error for test-service Cannot create container for service test-service: No command specified
Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
No response
BuildKit logs
No response
Additional info
No response