Drone: add better wait for Docker daemon, names
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Garrett Mills 2022-11-29 01:07:03 -06:00
parent 6575acf0af
commit 9b2674d60f

View File

@ -8,7 +8,7 @@ metadata:
pod-security.kubernetes.io/audit: privileged
services:
- name: dind-daemon
- name: docker daemon
image: docker:dind
privileged: true
environment:
@ -26,7 +26,7 @@ steps:
image: docker:latest
privileged: true
commands:
- "sleep 10"
- "while ! docker stats --no-stream; do sleep 1; done"
- "docker build -t $DOCKER_REGISTRY/garrettmills/www ."
- "docker push $DOCKER_REGISTRY/garrettmills/www"
environment: