Skip to content

Commit

Permalink
fix: Add Docker Daemon check and restart
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Orris committed Feb 13, 2024
1 parent 7116bda commit 08e2793
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish-dev-ci-base-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ jobs:
run: |
brew install --cask docker
open -a /Applications/Docker.app
- name: Check Docker Daemon
run: |
# Make sure Docker Daemon is running
if ! docker info; then
echo "Restarting Docker"
osascript -e 'quit app "Docker"'
sleep 5
open -a Docker
# Wait for Docker to be ready
while ! docker info >/dev/null 2>&1; do
sleep 1
done
fi
- name: Check Out Repo
uses: actions/checkout@v4
- name: Set up QEMU
Expand Down

0 comments on commit 08e2793

Please sign in to comment.