Closed frederikhs closed 3 months ago
Probably fixed by https://github.com/docker/compose/pull/11889 Would you have a chance to test your reproduction example with a build fro HEAD ?
I have added a second job testing v2.27.0 against the latest commit to the default branch (commit id 1a14fcb1e6645dd92f5a4f2da00071bd59c2e887) as of now. Seems like the issue is fixed. https://github.com/frederikhs/docker-compose-env-file-regression-example/actions/runs/9536725132/job/26283982723
What are the chances of a v2.27.2 release sometime in the near future?
After upgrade, when using docker compose --env-file .env environment variable COMPOSE_PROFILES in .env stop working :-(
Closing as "fixed on HEAD" A new release should come soon-ish
Description
Docker Compose v2.27.1 ignores the use of
--env-file
such asdocker compose --env-file .env.prod config
to override variable for the compose project.Steps To Reproduce
I have created a repository with a github action workflow that runs the comparison test i expect is the regression: https://github.com/frederikhs/docker-compose-env-file-regression-example
Compose Version
Docker Environment
Anything else?
No response