Closed nathanroberts55 closed 1 year ago
This issue is idle because it has been open for 14 days with no activity.
Hi @nathanroberts55 , my assumption is the docker-compose file is not in the PWD(Present Working directory) the code is running. You can check this by printing ls -R
and echo $PWD
in the github actions to verify.
The workaround is you can utilize the actions/checkout
action to fetch the repository contents in to the PWD and run the github action.
Please check if this works for you.
This issue is idle because it has been open for 14 days with no activity.
"We're closing this issue, please check the work around mentioned and feel free to open this issue if anything comes up".
Using Azure Web Apps to deploy a small multi-container app using GitHub Actions (azure/webapps-deploy@v2). Ran into an issue while running the action for a test deployment. I have the following code in a
main_appName.yml
that was originally generated by Azure Web Apps when I switched to GitHub actions and modified to work for both containers.I have the build that works perfectly fine:
The problem occurs in the deployment:
When the deployment runs, I get the error:
I thought from my understanding and reference to the
actions.yml
where it says that theconfiguration-file:
is for Web App Containers to specify the path of the Docker-Compose and the error message is specifying that I need the Docker-Compose that I was meeting all of the requirements. However I continue to get the same error.Here is my
azure-compose.yml
. It worked when I was initially using it for when I was setup using the container registry:and here is my repo directory structure:
I could completely be missing something (so any guidance would be appreciated), additionally, I know that the multi-container features are still being built out. But as of right now I'm not sure exactly what I might be doing wrong and why it isn't working. Thanks!