I get the following warning in Azure DevOps:
##[warning]Task 'Docker Compose' version 0 (DockerCompose@0) is deprecated.
##[warning]The DockerCompose@0 task is deprecated. The task uses docker-compose v1 which no longer receives update since July 2023. To use docker compose v2, use the DockerCompose@1 task.
My task looks like this:
- task: DockerCompose@0
displayName: Run services
inputs:
containerregistrytype: 'Azure Container Registry'
azureSubscription: '$(azureSubscriptionEndpoint)'
azureContainerRegistry: '$(azureContainerRegistry)'
projectName: pp-integration
dockerComposeFile: 'build/docker/docker-compose.IntegrationTest.LTSC2022.yml'
dockerComposeFileArgs: 'DOCKER_BUILD_SOURCE=$(System.DefaultWorkingDirectory)'
action: 'Run services'
buildImages: false
dockerComposePath: 'C:ProgramDatadockercli-pluginsdocker-compose.exe'
How can I solve this issue?
I came accross https://github.com/microsoft/azure-pipelines-tasks/issues/17808 and I am having issues with docker compose task in azure pipeline
But do not see a solution.
Is it enough to switch to DockerCompose@1 ?