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