{"id":21905111,"url":"https://github.com/emberstack/docker-azure-pipelines-agent","last_synced_at":"2025-04-15T23:24:23.953Z","repository":{"id":41959022,"uuid":"233254903","full_name":"emberstack/docker-azure-pipelines-agent","owner":"emberstack","description":"Docker based agent for Azure Pipelines","archived":false,"fork":false,"pushed_at":"2023-02-01T04:01:12.000Z","size":42,"stargazers_count":23,"open_issues_count":2,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-03T09:54:14.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emberstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-11T15:42:28.000Z","updated_at":"2023-01-21T07:46:53.000Z","dependencies_parsed_at":"2023-02-17T02:00:53.256Z","dependency_job_id":null,"html_url":"https://github.com/emberstack/docker-azure-pipelines-agent","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emberstack%2Fdocker-azure-pipelines-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emberstack%2Fdocker-azure-pipelines-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emberstack%2Fdocker-azure-pipelines-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emberstack%2Fdocker-azure-pipelines-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emberstack","download_url":"https://codeload.github.com/emberstack/docker-azure-pipelines-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226949374,"owners_count":17708044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T16:29:46.537Z","updated_at":"2024-11-28T16:29:47.282Z","avatar_url":"https://github.com/emberstack.png","language":"Shell","readme":"# Azure Pipelines Agent\r\n[Azure Pipelines Agent](https://github.com/emberstack/docker-azure-pipelines-agent) is self-hosted agent that you can run in a container with Docker.\r\n\r\n[![Pipeline](https://github.com/emberstack/docker-azure-pipelines-agent/actions/workflows/pipeline.yaml/badge.svg)](https://github.com/emberstack/docker-azure-pipelines-agent/actions/workflows/pipeline.yaml)\r\n[![Release](https://img.shields.io/github/release/emberstack/docker-azure-pipelines-agent.svg?style=flat-square)](https://github.com/emberstack/docker-azure-pipelines-agent/releases/latest)\r\n[![Docker Image](https://img.shields.io/docker/image-size/emberstack/azure-pipelines-agent/latest?style=flat-square)](https://hub.docker.com/r/emberstack/azure-pipelines-agent)\r\n[![Docker Pulls](https://img.shields.io/docker/pulls/emberstack/azure-pipelines-agent.svg?style=flat-square)](https://hub.docker.com/r/emberstack/azure-pipelines-agent)\r\n[![license](https://img.shields.io/github/license/emberstack/docker-azure-pipelines-agent.svg?style=flat-square)](LICENSE)\r\n\r\n\u003e Supports `amd64`, `arm` and `arm64`\r\n\r\n## Agent Version\r\n\r\nThis image will automatically pull and install the latest Azure DevOps version at startup.\r\n\r\n### Support\r\nIf you need help or found a bug, please feel free to open an issue on the [emberstack/docker-azure-pipelines-agent](https://github.com/emberstack/docker-azure-pipelines-agent) GitHub project.  \r\n\r\n## Deployment\r\n\r\nThe Azure Pipeliens agent can be deployed in Docker using either `docker run` or `docker compose` or in Kubernetes using Helm (recommended).\r\n\r\n#### Deployment in `docker`\r\n\r\n```\r\ndocker run -d -e AZP_AGENT_NAME=\"\u003cagent name\u003e\" -e AZP_URL=\"https://dev.azure.com/\u003cyour org.\u003e\" -e AZP_POOL=\"\u003cagent pool\u003e\" -e AZP_TOKEN=\"\u003cPAT\u003e\" emberstack/azure-pipelines-agent\r\n```\r\n\r\n\r\n#### Deployment in `Kubernetes` using `Helm`\r\n\r\nUse Helm to install the latest released chart:\r\n```shellsession\r\n$ helm repo add emberstack https://emberstack.github.io/helm-charts\r\n$ helm repo update\r\n$ helm upgrade --install azure-pipelines-agent emberstack/azure-pipelines-agent\r\n```\r\n\r\nYou can customize the values of the helm deployment by using the following Values:\r\n\r\n| Parameter                     | Description                                                                                       | Default                                                  |\r\n|-------------------------------|---------------------------------------------------------------------------------------------------|----------------------------------------------------------|\r\n| `nameOverride`                | Overrides release name                                                                            | `\"\"`                                                     |\r\n| `fullnameOverride`            | Overrides release fullname                                                                        | `\"\"`                                                     |\r\n| `image.repository`            | Container image repository                                                                        | `emberstack/azure-pipelines-agent`                       |\r\n| `image.tag`                   | Container image tag                                                                               | `\"\"` (same version as the chart)                         |\r\n| `image.pullPolicy`            | Container image pull policy                                                                       | `Always` if `image.tag` is `latest`, else `IfNotPresent` |\r\n| `pipelines.url`               | The Azure base URL for your organization                                                          | `\"\"`                                                     |\r\n| `pipelines.pat.value`         | Personal Access Token (PAT) used by the agent to connect.                                         | `\"\"`                                                     |\r\n| `pipelines.pat.secretRef`     | The reference to the secret storing the Personal Access Token (PAT) used by the agent to connect. | `\"\"`                                                     |\r\n| `pipelines.pool`              | Agent pool to which the Agent should register.                                                    | `\"\"`                                                     |\r\n| `pipelines.agent.mountDocker` | Enable to mount the host `docker.sock`                                                            | `false`                                                  |\r\n| `pipelines.agent.workDir`     | The work directory the agent should use                                                           | `_work`                                                  |\r\n| `serviceAccount.create`       | Create ServiceAccount                                                                             | `true`                                                   |\r\n| `serviceAccount.name`         | ServiceAccount name                                                                               | _release name_                                           |\r\n| `serviceAccount.clusterAdmin` | Sets the service account as a cluster admin                                                       | _release name_                                           |\r\n| `resources`                   | Resource limits                                                                                   | `{}`                                                     |\r\n| `nodeSelector`                | Node labels for pod assignment                                                                    | `{}`                                                     |\r\n| `tolerations`                 | Toleration labels for pod assignment                                                              | `[]`                                                     |\r\n| `affinity`                    | Node affinity for pod assignment                                                                  | `{}`                                                     |\r\n| `additionalEnv`               | Additional environment variables for the agent container.                                         | `[]`                                                     |\r\n| `extraVolumes`                | Additional volumes for the agent pod.                                                             | `[]`                                                     |\r\n| `extraVolumeMounts`           | Additional volume mounts for the agent container.                                                 | `[]`                                                     |\r\n| `initContainers`              | InitContainers for the agent pod.                                                                 | `[]`                                                     |\r\n\r\n\u003e Find us on [Artifact Hub](https://artifacthub.io/packages/helm/emberstack/azure-pipelines-agent)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femberstack%2Fdocker-azure-pipelines-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femberstack%2Fdocker-azure-pipelines-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femberstack%2Fdocker-azure-pipelines-agent/lists"}