Skip to content

Commit ae311c5

Browse files
committed
ci: fix workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
1 parent 9311bf5 commit ae311c5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
-
273273
name: Stop docker
274274
run: |
275-
sudo systemctl stop docker
275+
sudo systemctl stop docker docker.socket
276276
-
277277
name: Build
278278
id: docker_build
@@ -900,9 +900,13 @@ jobs:
900900
name: Checkout
901901
uses: actions/checkout@v3
902902
-
903-
name: Uninstall moby cli
903+
name: Uninstall docker cli
904904
run: |
905-
sudo apt-get purge -y moby-cli moby-buildx
905+
if dpkg -s "docker-ce" >/dev/null 2>&1; then
906+
sudo dpkg -r --force-depends docker-ce-cli docker-buildx-plugin
907+
else
908+
sudo apt-get purge -y moby-cli moby-buildx
909+
fi
906910
-
907911
name: Set up Docker Buildx
908912
uses: docker/setup-buildx-action@v2

0 commit comments

Comments
 (0)