From 2d6f638cfbb98a47276eaa6f8fd6aa77424e68f7 Mon Sep 17 00:00:00 2001 From: Kuba Mazurek Date: Tue, 20 Jul 2021 21:32:04 +0200 Subject: [PATCH] Add docker daemon restart step to goth workflows --- .github/workflows/goth-nightly.yml | 5 +++++ .github/workflows/goth.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/goth-nightly.yml b/.github/workflows/goth-nightly.yml index b5388580e..72ba5c727 100644 --- a/.github/workflows/goth-nightly.yml +++ b/.github/workflows/goth-nightly.yml @@ -60,6 +60,7 @@ jobs: - name: Disconnect Docker containers from default network continue-on-error: true + # related to this issue: https://github.com/moby/moby/issues/23302 run: | docker network inspect docker_default sudo apt-get install -y jq @@ -69,6 +70,10 @@ jobs: continue-on-error: true run: docker rm -f $(docker ps -a -q) + - name: Restart Docker daemon + # related to this issue: https://github.com/moby/moby/issues/23302 + run: sudo systemctl restart docker + - name: Log in to GitHub Docker repository run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${{github.actor}} --password-stdin diff --git a/.github/workflows/goth.yml b/.github/workflows/goth.yml index cb3e87094..3a17e7ea6 100644 --- a/.github/workflows/goth.yml +++ b/.github/workflows/goth.yml @@ -35,6 +35,7 @@ jobs: - name: Disconnect Docker containers from default network continue-on-error: true + # related to this issue: https://github.com/moby/moby/issues/23302 run: | docker network inspect docker_default sudo apt-get install -y jq @@ -44,6 +45,10 @@ jobs: continue-on-error: true run: docker rm -f $(docker ps -a -q) + - name: Restart Docker daemon + # related to this issue: https://github.com/moby/moby/issues/23302 + run: sudo systemctl restart docker + - name: Log in to GitHub Docker repository run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${{github.actor}} --password-stdin