Docker image to run Git in Azure Pipelines container jobs. The image contains also Docker CLI to access Docker engine on the agent.
This image can be used to run Git in Azure Pipelines container jobs.
To use the image in an Azure Pipelines Container Job, add one of the following example tasks and use it with the container
property.
The following example shows the container used for a deployment step which shows Git version:
- stage: deploy
jobs:
- deployment: runGit
container: swissgrc/azure-pipelines-git:latest
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
git version
Tag | Description | Base Image | Git | Git LFS | Size |
---|---|---|---|---|---|
latest | Latest stable release (from main branch) |
azure-pipelines-dockercli:27.3.1 | 2.47.1 | 3.6.0 | |
unstable | Latest unstable release (from develop branch) |
azure-pipelines-dockercli:27.3.1 | 2.47.1 | 3.6.0 | |
2.39.2 | Git 2.39.2 | azure-pipelines-dockercli:24.0.0 | 1:2.39.2-1~bpo11+1 | 3.3.0 | |
2.42.0 | Git 2.42.0 | azure-pipelines-dockercli:24.0.6 | 2.42.0 | 3.4.0 | |
2.42.1 | Git 2.42.1 | azure-pipelines-dockercli:24.0.7 | 2.42.1 | 3.4.0 | |
2.43.0 | Git 2.43.0 | azure-pipelines-dockercli:24.0.7 | 2.43.0 | 3.4.0 | |
2.43.1 | Git 2.43.1 | azure-pipelines-dockercli:25.0.3 | 2.43.1 | 3.4.1 | |
2.43.2 | Git 2.43.2 | azure-pipelines-dockercli:25.0.3 | 2.43.2 | 3.4.1 | |
2.44.0 | Git 2.44.0 | azure-pipelines-dockercli:25.0.4 | 2.44.0 | 3.5.1 | |
2.45.0 | Git 2.45.0 | azure-pipelines-dockercli:26.1.1 | 2.45.0 | 3.5.1 | |
2.45.1 | Git 2.45.1 | azure-pipelines-dockercli:26.1.2 | 2.45.1 | 3.5.1 | |
2.45.2 | Git 2.45.2 | azure-pipelines-dockercli:26.1.3 | 2.45.2 | 3.5.1 | |
2.46.0 | Git 2.46.0 | azure-pipelines-dockercli:27.1.1 | 2.46.0 | 3.5.1 | |
2.46.1 | Git 2.46.1 | azure-pipelines-dockercli:27.2.1 | 2.46.1 | 3.5.1 | |
2.46.2 | Git 2.46.2 | azure-pipelines-dockercli:27.3.1 | 2.46.2 | 3.5.1 | |
2.47.0 | Git 2.47.0 | azure-pipelines-dockercli:27.3.1 | 2.47.0 | 3.5.1 | |
2.47.1 | Git 2.47.1 | azure-pipelines-dockercli:27.3.1 | 2.47.1 | 3.6.0 |