Skip to content

Commit c8524c0

Browse files
committed
CI: work around docker service not starting in GHA
To workaround errors like: https://github.com/msys2/msys2-installer/actions/runs/24564887244/job/71823741495
1 parent 797c87a commit c8524c0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ jobs:
147147
with:
148148
name: installer-x86_64
149149

150+
# https://github.com/actions/runner-images/issues/13729
151+
- name: Docker issue workaround
152+
run: |
153+
$dockerState = Get-Service -Name "docker"
154+
if ($dockerState.Status -ne "Running") {
155+
Start-Service -Name "docker"
156+
}
157+
150158
- name: Build image
151159
run: |
152160
docker build -t msys2-base -f ./.ci/Dockerfile.${{ matrix.image }} .

0 commit comments

Comments
 (0)