Skip to content

Commit 2e886ba

Browse files
committed
ci: let's setup docker-cli
Signed-off-by: Anatoly Popov <me@aensidhe.ru>
1 parent ea3e522 commit 2e886ba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@ jobs:
2424
dotnet-version: |
2525
3.1.x
2626
6.0.x
27+
28+
- name: Install docker-cli
29+
run: choco install docker-cli
30+
2731
- name: Restore dependencies
2832
run: dotnet restore
2933
- name: Build
3034
run: dotnet build -c Release --no-restore
3135

3236
- name: Switch OS for docker
33-
run: "& $Env:ProgramFiles\\Docker\\Docker\\DockerCli.exe -SwitchDaemon"
37+
run: $Env:ProgramData\chocolatey\lib\DockerCli.exe -SwitchDaemon
3438

3539
- name: Docker build
3640
run: docker-compose build

0 commit comments

Comments
 (0)