Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,33 @@ jobs:
with:
go-version: '1.25.4'
cache: false
- name: Ensure Docker is running
run: |
if docker info >/dev/null 2>&1; then
exit 0
fi

if colima status >/dev/null 2>&1; then
colima stop --force || true
fi
Comment thread
cursor[bot] marked this conversation as resolved.

if ! colima start; then
colima stop --force || true
if ! colima start; then
colima delete --force
colima start
fi
fi

for attempt in {1..30}; do
if docker info >/dev/null 2>&1; then
exit 0
fi
echo "waiting for Docker daemon (${attempt}/30)"
sleep 2
done

docker info
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down
Loading