Skip to content

Run a Azure Pipelines Agent (vsts-agent) with Docker 🐳

Notifications You must be signed in to change notification settings

gforien/azure-dockeragent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azure-dockeragent

📚 Source

Build 🏗

d build -t dockeragent:latest linux
d run --rm `
    -e AZP_URL=$env:AZP_URL `
    -e AZP_TOKEN=$env:AZP_TOKEN `
    -e AZP_AGENT_NAME=mydockeragent `
    -e AZP_POOL=mydockerpool `
    -v /usr/local/bin/docker:/usr/bin/docker `
    -v /var/run/docker.sock:/var/run/docker.sock `
    dockeragent:latest
  • AZP_URL = l'URL de l'organisation Azure DevOps
  • AZP_TOKEN = un PAT

⚠ Si lancé en mode Windows container, ne pas oublier de revenir aux Linux containers après.

About

Run a Azure Pipelines Agent (vsts-agent) with Docker 🐳

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages