pipeline: build: image: docker environment: - DOCKER_HOST=tcp://docker:2375 commands: - sleep 5 - docker build -t registry.yetaga.in/library:latest . - docker push registry.yetaga.in/library:latest services: docker: image: docker:18.09-dind command: ["--storage-driver=vfs"] privileged: true