--- kind: pipeline type: docker name: default steps: - name: sql image: python:alpine commands: - apk add libecpg-dev --no-cache - pip3 install pgsanity - cd docker/backend/ - find -name "*.sql" | xargs pgsanity - name: backend image: docker:dind volumes: - name: dockersock path: /var/run/docker.sock commands: - cp .example.env .env - cd docker/ - docker build --build-arg BUILD_ENV=development backend volumes: - name: dockersock host: path: /var/run/docker.sock