-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with docker compose #4
Comments
Why are you using docker-compose with a GitHub workflow? This doesn't make sense to me. |
This is a GitHub workflow (akin to a GitHub action in the repository) you can read about here. The file being yaml does not indicate it's made for docker compose, yaml is akin to json and is a way to structure data, used across different applications. |
ok! thanks! didn't know about this. sorry! |
No worries! The way this works is that you can copy the workflow file and put it in the same location in one of your repositories, and then update the repos.txt with your containers and it should work with GitHub actions. Good luck! |
Hi! When trying to build the yml as follows:
sudo docker-compose .github/workflows/pull.yml build
I get the following error:
ERROR: In file './.github/workflows/pull.yml', service 'name' must be a mapping not a string.
I've been googleling this and I find that this could be related to a syntax error but I have never used it, and I cannot find the error. Maybe I'm doing something wrong (it's my first time using docker-compose and yml files)
Any help would be appreciated!
Thanks!
The text was updated successfully, but these errors were encountered: