60
60
-
61
61
name : Stop docker
62
62
run : |
63
- sudo systemctl stop docker
63
+ sudo systemctl stop docker docker.socket
64
64
-
65
65
name : Set up Docker Buildx
66
66
id : buildx
@@ -349,7 +349,11 @@ jobs:
349
349
-
350
350
name : Uninstall docker cli
351
351
run : |
352
- sudo apt-get purge -y moby-cli moby-buildx
352
+ if dpkg -s "docker-ce" >/dev/null 2>&1; then
353
+ sudo dpkg -r --force-depends docker-ce-cli docker-buildx-plugin
354
+ else
355
+ sudo apt-get purge -y moby-cli moby-buildx
356
+ fi
353
357
-
354
358
name : Set up Docker Buildx
355
359
uses : ./
@@ -373,7 +377,11 @@ jobs:
373
377
-
374
378
name : Uninstall docker cli
375
379
run : |
376
- sudo apt-get purge -y moby-cli moby-buildx
380
+ if dpkg -s "docker-ce" >/dev/null 2>&1; then
381
+ sudo dpkg -r --force-depends docker-ce-cli docker-buildx-plugin
382
+ else
383
+ sudo apt-get purge -y moby-cli moby-buildx
384
+ fi
377
385
-
378
386
name : Set up Docker Buildx
379
387
uses : ./
@@ -400,7 +408,11 @@ jobs:
400
408
-
401
409
name : Uninstall docker cli
402
410
run : |
403
- sudo apt-get purge -y moby-cli moby-buildx
411
+ if dpkg -s "docker-ce" >/dev/null 2>&1; then
412
+ sudo dpkg -r --force-depends docker-ce-cli docker-buildx-plugin
413
+ else
414
+ sudo apt-get purge -y moby-cli moby-buildx
415
+ fi
404
416
-
405
417
name : Set up Docker Buildx
406
418
id : buildx
0 commit comments