kind: pipeline name: test-docker-build steps: - name: test image: docker:dind volumes: - name: dockersock path: /var/run/docker.sock commands: - docker build -t sneak/gohttpserver . volumes: - name: dockersock host: path: /var/run/docker.sock