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.

3 Replies

  • mpili's avatar
    mpili
    Copper Contributor
    I got the same behavior using DockerCompose@1

    any updates?
  • StukalovN's avatar
    StukalovN
    Copper Contributor
    I got the same problem, that comes after updating DockerCompose@0 to DockerCompose@1.

Resources