coolify
coolify copied to clipboard
[Bug]: Automatic Deployment of docker compose Application fails to build with code changes
Is there an existing issue for this?
- [X] I have searched the existing issues
Example public repository
coolify
Description
I have a docker-compose application running. When I push a commit to my master branch, it triggers a new deployment, but that new deployment doesn't reflect the changes in the new commit. I would expect that automatic deployments would reflect code changes.
Did some research and it seems that the issue is that docker compose needs to be passed the --no-cache
flag to trigger a proper re-build with the updated code.
Currently, it seems like the cached containers are just re-used on each commit hook instead of being re-built.
Steps To Reproduce
- Create Docker Compose application
- Push change to master branch of application
- Re-deployment occurs
- No code has changed in the re-deployed container
Version
3.12.31