Forum Discussion

lbaier's avatar
lbaier
Copper Contributor
Jun 18, 2024

DockerCompose obsolete version in auto generated file

I use the `DockerCompose@0` task to build docker images. After updating docker compose on the agents I get warnings saying "##[error]time="2024-06-18T00:06:56+02:00" level=warning msg="/data/agents/A1/.docker-compose.1718662015607.yml: `version` is obsolete"

 

It seems like this auto generated compose file includes the version at the top but I did not find any option to disable that.

Resources