[Bug]: Unable to update git repo docker compose / using cache
Error Message and Logs
I am unable to deploy an app using private gitlab repo.
It keeps referencing an old env variable that no longer exists. Even tho the docker-compose.yml file in the repo has been updated.
I even tried force deploy but it still, from somewhere is trying to use this variable and the build fails with:
failed to read /artifacts/wwkgsgw0ow4..../.env: Invalid template: "${GCP_SECRET_NAME"
exit status 1
I tried reloading the docker compose file, used advanced -> force deployment, but nothing works.
How do I empty this artifact cache?
Steps to Reproduce
- Hook up private gitlab repo
- Deploy once
- Update docker-compose.yml by changing env variable names in repo
- Try and deploy again
Example Repository URL
No response
Coolify Version
v4.0.0-beta.418
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04
Additional Information
No response
Is your domain on Cloudflare? There is some caching on Cloudflare you need to disable.
@Zyles what is in the env tab for the project?
We are closing this issue for now, as it has become stale and OP hasn't responded after a significant amount of time. We can re-open this issue again if anyone else is facing the same issue as well.