kind: pipeline name: test-docker-build steps: - name: test image: docker:dind volumes: - name: dockersock path: /var/run/docker.sock commands: #- echo nameserver 116.202.204.30 > /etc/resolv.conf - docker build -t sneak/gohttpserver . volumes: - name: dockersock host: path: /var/run/docker.sock