'Error while pushing image to ACR from ADO pipeline

I am getting following error while pushing image to ACR

  • task: DockerCompose@0 inputs: containerregistrytype: 'Azure Container Registry' azureSubscription: 'DemoAzure' azureContainerRegistry: '' dockerComposeFile: '**/docker-compose.yml' action: 'Run a Docker Compose command' dockerComposeCommand: 'push'

Starting: DockerCompose

Task : Docker Compose Description : Build, push or run multi-container Docker applications. Task can be used with Docker or Azure Container registry. Version : 0.198.0 Author : Microsoft Corporation Help : https://aka.ms/azpipes-docker-compose-tsg

##[error]Unhandled: Failed find: EACCES: permission denied, scandir '/home/vsts/work/1/s/data'



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source