Category : azure-devops

I set up a self-hosted ADO agent which runs inside a container. When I tried to transfer my existing docker-compose build from the Microsoft agent pool to my own self hosted agent, the docker-compose fails to mount the volume. I receive errors saying that I cannot create directories since the file system is read-only. ADO ..

Read more

Is it possible to build docker images with docker compose task in azure DevOps pipelines and give in specific name ? because the names i get to the images is the $(Build.Repository.Name) only . What I Tried : steps: – task: [email protected] inputs: containerregistrytype: ‘Container Registry’ dockerRegistryEndpoint: ‘Docker_Hub’ dockerComposeFile: ‘**/docker-compose.yml’ qualifyImageNames: false action: ‘Run a ..

Read more

Is it possible to build docker images with Docker compose task in Azure Devops pipelines and give it a specific name? Because the names I get to the images look like $(Build.Repository.Name) only. What I tried: steps: – task: [email protected] inputs: containerregistrytype: ‘Container Registry’ dockerRegistryEndpoint: ‘Docker_Hub’ dockerComposeFile: ‘**/docker-compose.yml’ qualifyImageNames: false action: ‘Run a Docker Compose ..

Read more

I have a project that contains private libraries available on Azure Devops. I have a Dockerfile in place to build my project When the npm install command starts I get the following error: 400 Bad Request – GET https://myOrganisation.pkgs.visualstudio.com/myproject/_packaging/myFeed/npm/registry/:_authToken=[TOKEN_BAASE_64]/@project%2fmy-lib My .npmrc file : unsafe-perm=true package-lock=false @project:registry=https://myOrganisation.pkgs.visualstudio.com/myproject/_packaging/myFeed/npm/registry/:_authToken=${NPM_TOKEN} always-auth=true Source: Dockerfile..

Read more

My Azure DevOps pipeline needs azureps and sqlpackage in order to run. I am using private ubuntu 18.04 build agent. I am unable to satisfy these two requirements. I started with installing Azure Powershell adding definition in Dockerfile: RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb && dpkg -i packages-microsoft-prod.deb && apt-get update && add-apt-repository universe && apt-get install ..

Read more

I have a container registry which is only accessible through a private endpoint and resides in a virtual network, let’s say ‘Vnet’. The registry is not accessible through the public internet. And I have linked my Github Repo to the azure devops. What I am trying to do:- I am trying to create a pipeline ..

Read more