docker-compose: command not found in action, which was working yesterday #134407
-
Select Topic AreaBug BodyHi, I have a serious issue for a while. One of our repo the CI pipeline fails with the error: "docker-compose: command not found" at different steps. Sometimes the action survives the first step "Build integration test environment" sometimes does not. Then another step fails with the similar error. My coworkers notified me that they have similar sporadic issues. This pipeline is fine since years. There where no change in the pipeline since 6 months. I have no more clue what to do or what to fix, because since the last successful execution happened last week, and there were no change in the pipeline, just in the code. Could someone suggest anything to be able to fix this? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Furthermore I tried now to execute the action was successfully run 1 week ago, and I got very similar error: |
Beta Was this translation helpful? Give feedback.
-
Try these solutions;
Ensure docker-compose is installed in your CI environment.
Add a step in your CI pipeline to install docker-compose:
Ensure the installation directory is in the system's PATH.
Clear any cached layers in your CI environment to apply the changes. |
Beta Was this translation helpful? Give feedback.
-
Looks like this is a change introduced by actions/runner-images#9692. The real fix is to update your workflow from calling |
Beta Was this translation helpful? Give feedback.
Try these solutions;
Ensure docker-compose is installed in your CI environment.
Use which docker-compose or docker-compose --version to verify.
Add a step in your CI pipeline to install docker-compose:
(yaml)
Ensure the installation directory is in the system's PATH.
Clear any cached layers in your CI environment to apply the changes.