kind: pipeline type: docker name: default steps: - name: build cpp-ubuntu image: docker commands: - docker build -t erki/cpp-ubuntu:latest - < cpp-ubuntu.Dockerfile volumes: - name: docker_socket path: /var/run/docker.sock - name: build jenkins-ubuntu image: docker commands: - docker build -t erki/jenkins-ubuntu:latest - < jenkins-ubuntu.Dockerfile volumes: - name: docker_socket path: /var/run/docker.sock - name: notify image: plugins/matrix settings: homeserver: from_secret: matrix_homeserver roomid: from_secret: matrix_roomid username: from_secret: matrix_username password: from_secret: matrix_password when: status: - failure volumes: - name: docker_socket host: path: /var/run/docker.sock