You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/guides/azure-pipelines.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,8 @@ stages:
65
65
displayName: Build and Push
66
66
pool:
67
67
vmImage: ubuntu-latest
68
+
demands:
69
+
- docker
68
70
steps:
69
71
- checkout: self
70
72
displayName: Checkout Code
@@ -179,10 +181,12 @@ jobs:
179
181
- job: DockerJob
180
182
displayName: Build and Push
181
183
pool:
182
-
vmImage: ubuntu-latest
184
+
vmImage: ubuntu-latest
185
+
demands:
186
+
- docker
183
187
```
184
188
185
-
This job uses the latest Ubuntu VM image provided by Microsoft-hosted agents. It can be swapped with a custom pool for self-hosted agents if needed.
189
+
This job utilizes the latest Ubuntu VM image with Docker support, provided by Microsoft-hosted agents. It can be replaced with a custom pool for self-hosted agents if necessary.
186
190
187
191
> [!TIP]
188
192
> Learn more: [Specify a pool in your pipeline](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/pools-queues?view=azure-devops&tabs=yaml%2Cbrowser)
0 commit comments