kind: pipeline type: docker name: default platform: os: linux arch: amd64 steps: - name: deployment image: alpine volumes: - name: host_docker_socket path: /var/run/docker.sock commands: - echo "Setting up internal docker cli" - apk update && apk add docker docker-compose - echo "Build the container image" - docker-compose build - echo "Restart the container" - docker-compose down && docker-compose up -d when: branch: - ci-testing volumes: - name: host_docker_socket host: path: /var/run/docker.sock node: host: socrates trigger: event: - push