kind: pipeline type: docker name: bin trigger: event: - push steps: - name: build image: rust:slim commands: - cargo build --release - name: pack when: branch: - master image: plugins/docker volumes: - name: dockersock path: "/var/run/docker.sock" settings: username: droneci password: from_secret: REGISTRY_PASSWD repo: git2.zettoit.eu/zettoit/bin tags: latest dockerfile: ./Dockerfile